Status: Experienced, Pursuing MS in CS
Position: Software Engineer (Android)
Location: Menlo Park
Date: April 27, 2020
Technical phone screen (45 minutes):
- setup({"foo", "bar", "baz"})
- isMember("foo") // return true
- isMember("garply") // return false
- isMember("f*o") // return true
- isMember("**") // return falseAfter that he gave 5 minutes to ask questions and that was a wrap.
Result:
Approached with HashMap initially, but needed a complexity of O(n), hence attempted with Trie, but ran out of time. Any help appreciated in solving this problem.