1. What is the database design for Instagram?
2. Write an SQL query to find the second highest salary.
3. Describe the high-level design for a Reddit-type application.
4. What is the difference between a semaphore and a mutex?
5. Describe the system design of a loan generating system.