This question evaluates a candidate's competency in file-system traversal, duplicate file detection, content hashing and I/O/performance optimization within the Coding & Algorithms domain, combining conceptual understanding with practical application and systems-level engineering.
在一个包含多级目录与文件的文件系统中,每个文件有路径与内容。请设计算法删除内容完全相同的重复文件,仅保留每组中的一个,并返回被删除文件的完整路径列表。要求: