Technical Interview Question #4

Interview Series

Write a function that determines if one file path is entirely contained within another file path. You can ignore escaping such as %20, but you cannot ignore directory change sequences such as “..” for “up one level.”