Q1
Explain the difference between REST and GraphQL APIs. When would you choose one over the other in a real-world application?
Why they ask this:* They want to assess your understanding of modern API design patterns and your ability to make architectural decisions based on project requirements.
Q2
Write pseudocode or explain how you would reverse a linked list. Walk through your approach and discuss the time and space complexity.
Why they ask this:* They're evaluating your fundamental data structures knowledge, problem-solving methodology, and ability to analyze algorithm efficiency—core skills for any software engineer.
Q3
What is the purpose of version control systems like Git, and what's the difference between `git merge` and `git rebase`?
Why they ask this:* They need to confirm you understand collaborative development workflows and can manage code changes responsibly in a team environment.
Q4
Describe the Model-View-Controller (MVC) architecture. How does it help in organizing a web application?