Q1
Explain the difference between REST and GraphQL APIs. When would you choose one over the other, and what are the trade-offs?
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 cases.
Q2
Walk us through how you would debug a memory leak in a Node.js application. What tools would you use?
Why they ask this:* They're testing your practical debugging skills and familiarity with performance profiling tools essential for production-grade software engineering.
Q3
Describe the concept of a binary search algorithm and write pseudocode for it. What is its time complexity?
Why they ask this:* They want to verify your foundational knowledge of algorithms and your ability to analyze code efficiency—core competencies for a software engineer.
Q4
What is the difference between SQL and NoSQL databases? Give an example of when you would use each in a real-world application.