Implement a nested key-value store | Lyft Interview Question