6 Problems
Trie
Master trie problems with detailed brute force and optimal solutions.
01
Construct a trie from scratch
Click to view brute force and optimal solutions
02
Find shortest unique prefix for every word in a given list
Click to view brute force and optimal solutions
03
Word Break Problem (Trie solution)
Click to view brute force and optimal solutions
04
Given a sequence of words, print all anagrams together
Click to view brute force and optimal solutions
05
Implement a Phone Directory
Click to view brute force and optimal solutions
06
Print unique rows in a given boolean matrix
Click to view brute force and optimal solutions