File Path Search
Given a list of absolute file paths, implement a search function that accepts a search string representing either a directory or file name. The function should return all matching file paths from the list.
Asked at:
Apple
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Late July, 2026
Apple
Staff
Return the list of files from the search string which can be a directory or a file
Hello Interview Premium
Your account is free and you can post anonymously if you choose.