Problem
Implement a prefix tree (Trie) for a library search by title. The Add() and Search() operations should be O(n) time complexity. Maps are not allowed.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

