Optiver Interview Question

1 . C++ write your own vector 2. CPU cache , TLB 3. Multithreading synchronized notify all 4. Memory leak and how to detect and avoid