---
title: "Discussion on \"LeetCode Daily Challenge-1233. Remove Sub-Folders from the Filesystem(Med, Java)\" | Hashnode"
description: "Discussion on \"LeetCode Daily Challenge-1233. Remove Sub-Folders from the Filesystem(Med, Java)\". Two solutions: Sorting+Prefix Check vs Trie (Prefix Tree) TC: both O(n log n + n·m) SC: O(1) vs O(n·m)"
url: "https://hashnode.com/posts/leetcode-daily-challenge-1233-remove-sub-folders-from-the-filesystemmed-java/687b7db405fba4a367914d71"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LeetCode Daily Challenge-1233. Remove Sub-Folders from the Filesystem(Med, Java)](https://huanganni.hashnode.dev/leetcode-daily-challenge-1233-remove-sub-folders-from-the-filesystemmed-java?utm_source=hashnode&utm_medium=feed)

Two solutions: Sorting+Prefix Check vs Trie (Prefix Tree) TC: both O(n log n + n·m) SC: O(1) vs O(n·m)

Jul 19, 2025 · 3 min read · huanganni.hashnode.dev  
Read the article

-   [#leetcode-medium](https://hashnode.com/tag/leetcode-medium)
-   [#daily-leetcode-challenge](https://hashnode.com/tag/daily-leetcode-challenge)
-   [#sorting](https://hashnode.com/tag/sorting)
-   [#trie](https://hashnode.com/tag/trie)
-   [#java](https://hashnode.com/tag/java)

## Written by

[Anni Huang](https://hashnode.com/@HuangAnni)

@HuangAnni · Singapore

  
[View profile](https://hashnode.com/@HuangAnni)

LLM Training Operation Specialist @ ByteDance | Ex-Master of IT in Business (AI track) at SMU

I’m Anni Huang, an AI researcher-in-training currently at ByteDance, specializing in LLM training operations with a coding focus. I bridge the gap between engineering execution and model performance, ensuring the quality, reliability, and timely delivery of large-scale training projects.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
