ํ๋ก ํธ์๋
2025. 4. 24.
building a File Tree UI given a list of File objects
์ค๋์ ์ฝ๋ํจ๋์ ๋ฆฌ์กํธ ๋ผ์ด๋ธ์ฝ๋ฉ ์์ ๋ฌธ์ ๋ฅผ ํ๋ฒ ํ์ด๋ณด๋ ค๊ณ ํ๋ค! ใ
ใ
๋ฌธ์ ์ํฉ Today, we are tasked with building a File Tree UI given a list of File objects, consisting of a path and the contents of the file. Your solution must: display files in a nested structure, with entries for each folder and filebe able to handle arbitrarily-deep file structuressort the file tree by the following rules:folders are shown before filesal..