Asked to write an in-memory file system. Although there was a variant.
- mkdir -> /a should create director a. /a/b should only create b if /a exists. If a and b dont exists it needs to error out
- write_file -> If intermittent directories are absent then throw error
- readfile -> This is the usual one.
Inspite of knowing the answer got rejected. Weird. Good Luck!!