Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 2 KB

trie.md

File metadata and controls

28 lines (19 loc) · 2 KB

Trie LeetCode Problems

A collection of LeetCode problems solved using Trie pattern techniques, explanations, and complexity analysis.

Problems

Easy

# Problem Language Time Space Explanation
225 Implement Stack using Queues PHP O(n) O(n) Explanation
232 Implement Queue using Stacks JavaScript, PHP O(n) O(n) Explanation
1018 Binary Prefix Divisible By 5 Python O(n) O(n) Explanation
2000 Reverse Prefix of Word JavaScript O(n) O(n) Explanation

Medium

# Problem Language Time Space Explanation
208 Implement Trie (Prefix Tree) JavaScript O(n) O(n) Explanation
470 Implement Rand10() Using Rand7() JavaScript O(n) O(n) Explanation
676 Implement Magic Dictionary Python O(n) O(n) Explanation
3508 Implement Router JavaScript O(n) O(n) Explanation

Hard

No problems logged yet under this difficulty level.