Q1
Explain the difference between SQL and NoSQL databases. When would you choose one over the other in a real-world application?
Why they ask this:* They want to assess your understanding of fundamental database concepts and your ability to make architectural decisions based on use cases.
Q2
Write pseudocode or explain how you would reverse a linked list. Walk me through your approach and time/space complexity.
Why they ask this:* This tests core data structure knowledge, problem-solving methodology, and your ability to communicate algorithmic thinking clearly.
Q3
What is the difference between REST and GraphQL APIs? Describe a scenario where you'd use each.
Why they ask this:* They're evaluating your knowledge of modern API design patterns and whether you understand trade-offs between different architectural approaches.
Q4
Describe the Model-View-Controller (MVC) pattern. How does it apply to a web application you've built or studied?