Adobe Interview Question

2 LC medium and 2 system design problems