LeetCode Question · Oct 2019 · Los Angeles

Facebook | Phone Screen | Redundant Paths & Next Permutation

4 upvotes 2,356 views 7 replies

Question Details

Question 1: Given a list of directory info, return all paths which are not redundant. A redundant path is one with the root already on the list. Ex: Input: ["/a/b/c","/a/b","/d/e","/d"] Output: ["/a/b"...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Backtracking