Q1
Explain the difference between REST and GraphQL APIs. When would you choose one over the other in a project?
Why they ask this:* They want to assess your understanding of modern API design patterns and your ability to make architectural decisions based on use case requirements.
Q2
Write pseudocode or explain how you would implement a function to reverse a linked list. What is the time and space complexity?
Why they ask this:* This tests your foundational data structures knowledge, problem-solving approach, and ability to analyze algorithmic efficiency—critical skills for writing optimized code.
Q3
What is the difference between SQL and NoSQL databases? Can you give an example of when you would use each?
Why they ask this:* They're evaluating whether you understand database fundamentals and can make informed decisions about data storage based on project needs.
Q4
Describe the purpose of version control systems like Git. How would you handle a merge conflict in a collaborative project?