4 ms·
I quite like them. You know what sort of question you’re getting and they’re really not that hard. Practice. Get good at walking trees. Answer too slow? Sort th
by makerofthings 2y ago
I quite like them. You know what sort of question you’re getting and they’re really not that hard. Practice. Get good at walking trees. Answer too slow? Sort the list first, use two pointers, use a hashmap, max heap…