LeetCode
Question
·
Aug 2016
·
Los Angeles
Facebook | Design data structure for wildcard search
11 upvotes
8,255 views
6 replies
Question Details
Given such data structure, implement add() and search() method, which support wildcard matching. ? Matches any single character. * Matches any sequence of characters (including the empty sequence). class Node { Node getChildForLetter(char letter) Nod…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Strings
More from Meta
Reddit
Leetcode is cooked in 2026 and we don't hire people who only grind leetcode.
Reddit
Returning to SWE work after 3 years of cancer treatment
Reddit
2026 New Grad Recap
Reddit
Most likely failed meta phone screen
Reddit
Targeting OpenAI SWE Roles? Insights on what to expect from recent system design loops