LeetCode Daily Challenge-1233. Remove Sub-Folders from the Filesystem(Med, Java)
Problem Statement
1233. Remove Sub-Folders from the Filesystem
Given an array of folder paths, remove all sub-folders from the filesystem and return the folders after removing all sub-folders in any order.
A folder x is a sub-folder of folder y if ...
huanganni.hashnode.dev3 min read