Tableau | Phone Screen | Files With the Same Content
Anonymous User
1435

Write a program which returns list of all files having same content from the directory (including sub directory).

Example:

Input:
/a
   /b 
     /c 
        x.txt
        y.txt
     /d
       z.png
       w.jpeg
  /e
      k.log

Output:  [["a/b/c/x.txt", "a/e/k.log"], ["a/b/c/y.txt", "a/b/d/z.png"], ["a/b/d/w.jpeg"]].

Note: file extension does not matter.

Comments (4)