👩💻 Join our community of thousands of amazing developers!
1948. Delete Duplicate Folders in System Due to a bug, there are many duplicate folders in a file system. You are given a 2D array paths, where paths[i] is an array representing an absolute path to the ith folder in the file system. For example, [“one”, “two”, “three”] represents the path “/one/two/three”. Two folders (not necessarily on the same level) are identical if they contain the same non-empty set of identical subfolders and underlying subfolder structure. The folders do not need to b...