Weird Expected output
Input\n[["a"],["a","x"],["a","x","y"],["a","z"],["b"],["b","x"],["b","x","y"],["b","z"],["b","w"]]\nOutput\n[["b"],["b","w"]]\nExpected\n[["a"],["b"],["a","z"],
Input\n[["a"],["a","x"],["a","x","y"],["a","z"],["b"],["b","x"],["b","x","y"],["b","z"],["b","w"]]\nOutput\n[["b"],["b","w"]]\nExpected\n[["a"],["b"],["a","z"],["b","z"],["b","w"]]\n\nSeems according to me that expected sol is wrong .\n\nhere is the sub directory structure \n      *\n\t/     \\ \na         b\n| \\         |  \\  \\ \nx z       x  z  w\n|           |\ny          y\n\n\nSeems Intutive that the Entire "A" directory should be removed and for "B" only ["b"] and "[b","w"] paths should remain \n\n\nAm I understanding something wrong here ?\n\n
[]