The best software engineer interview questions test four things: fundamentals, coding, system design and behaviour, pitched at the level you are hiring. Ask freshers about core concepts and simple code they can explain line by line. Ask mid-level developers about debugging, databases, APIs and trade-offs. Ask senior engineers to design a system, defend a decision and describe how they raised the bar for a team. Then score every answer against the same written rubric, because a structured interview beats a friendly chat at predicting who will do the job well.
The 50 questions below are sorted by level and area, each with what a strong answer shows and the red flag to listen for.
You have probably sat through the other kind of interview. A candidate's take-home test is flawless, then they can't say why they used a heap, or what happens when the input is empty. Forty minutes of a senior engineer's afternoon, gone, and the next one is booked for tomorrow.
One recommendation before the list. If your engineers are losing whole days to first-round screens, let SpringVerify Hire run that round. Every applicant takes a coding assessment with an AI plagiarism score and a proctored AI interview, and your team gets a ranked shortlist in 24 hours. Your engineers only meet people who can already code.
Ask questions from four areas, weighted by level: fundamentals, coding, system design and behaviour. Freshers get mostly fundamentals and coding. Senior engineers get mostly system design and behaviour. Every candidate gets at least one question from each area, because a brilliant coder who cannot explain a decision to a teammate is still a risky hire.
| Area | What it tests | Best format | Weight: fresher / mid / senior |
|---|---|---|---|
| Fundamentals | Data structures, algorithms, OOP, databases, networking, the software development life cycle (SDLC) and Agile | Short spoken questions | High / Medium / Low |
| Coding | Writing working code, testing it, explaining it | Timed coding assessment, then a walk-through | High / High / Medium |
| System design | Scalability, trade-offs, failure handling | Whiteboard or shared-doc discussion | None / Light / High |
| Behaviour | Ownership, collaboration, learning, judgement | Structured questions answered with real examples | Medium / Medium / High |
A note on wording: many companies use "software engineer" and "software developer" for the same job. The questions below work for both titles.
For freshers and campus hires, ask about fundamentals they studied and code they wrote themselves. The test is whether they understand what they learned and can think out loud when they get stuck. Production experience comes later.
| # | Question | A strong answer shows | Red flag |
|---|---|---|---|
| 1 | Walk me through a project you built. What would you change now? | Their own role, one real problem they hit and how they fixed it | Only the tech stack, no decisions |
| 2 | What is the difference between an array and a linked list? When would you pick each? | Access time versus insertion cost, with a real use case | A memorised definition with no "when" |
| 3 | What is a hash map, and what happens when two keys collide? | Hashing, buckets, chaining or open addressing | "It just stores key-value pairs" |
| 4 | Explain time complexity. What is the Big-O of binary search, and why? | O(log n) because the search space halves each step | A number with no reason |
| 5 | Explain the four pillars of OOP with an example from your own code | Encapsulation, inheritance, polymorphism and abstraction tied to something they wrote | Textbook examples only (Animal, Dog) |
| 6 | What is the difference between SQL and NoSQL databases? | Schema, relationships, consistency and when each fits | "NoSQL is faster" |
| 7 | What happens when you type a URL into a browser and press Enter? | DNS lookup, TCP and TLS, HTTP request, server response, rendering | Skips straight to "the page loads" |
| 8 | What is the difference between a process and a thread? | Memory sharing, cost of switching, one concurrency risk | Says they are the same |
| 9 | How would you test a function that reverses a string? | Empty string, one character, spaces, Unicode, very long input | Only tests "hello" |
| 10 | What does Git do, and how do you fix a merge conflict? | Branches, commits, reading both sides of the conflict before choosing | Has never used Git outside a tutorial |
What good looks like at this level: a fresher who says "I don't know, but I'd guess it works like this, because..." is a better bet than one who recites a perfect definition and cannot apply it.
For developers with two to five years of experience, move from "what is it" to "what did you do". Ask about bugs they fixed, APIs they built, databases they tuned and trade-offs they made under a deadline. Good mid-level answers are specific: a service name, a metric, a mistake.
| # | Question | A strong answer shows | Red flag |
|---|---|---|---|
| 11 | Tell me about the hardest bug you fixed in production | A method: reproduce, read logs, narrow down, fix, add a test so it can't return | "We restarted the server and it went away" |
| 12 | How do you design a REST API for a feature you shipped? | Resource naming, status codes, versioning, pagination, error format | Every endpoint is a POST |
| 13 | A query that took 50 ms now takes 5 seconds. What do you check? | Query plan, missing index, table growth, locks, N+1 queries | Jumps to "add more servers" |
| 14 | What is database normalisation, and when would you denormalise? | Removing duplication, then a read-heavy case where duplication is worth it | Only knows the definition of 3NF |
| 15 | How do you decide what to unit test and what to integration test? | Unit tests for logic, integration tests for boundaries, not chasing 100% coverage | "QA handles testing" |
| 16 | Explain one design pattern you used and why it helped | A pattern (factory, strategy, observer) tied to a real problem it solved | Names patterns without a use |
| 17 | How does your team ship code from a pull request to production, and how does it fit your Agile sprints? | Code review, CI/CD checks, staging, deployment, rollback, small releases each sprint | Has never seen a release pipeline |
| 18 | How do you handle secrets, input validation and SQL injection? | Parameterised queries, a secrets store, never trusting user input | Passwords in config files "for now" |
| 19 | When would you use a cache, and how do you keep it from serving stale data? | Read patterns, TTLs, invalidation on write, what happens on a cache miss | "Cache everything" |
| 20 | Tell me about technical debt you chose to take on. Did you pay it back? | A conscious trade-off, a record of it, and a plan | Doesn't recognise the term |
For senior engineers, ask about judgement: decisions with trade-offs, systems they owned end to end, failures they led the team through and people they helped grow. The code still matters, but the question is whether they make everyone around them better.
| # | Question | A strong answer shows | Red flag |
|---|---|---|---|
| 21 | Describe a system you owned end to end. What broke first as it grew? | Real scale numbers, the first bottleneck, what they changed | Talks only about the team's work, never their own calls |
| 22 | When would you split a monolith into microservices, and when wouldn't you? | Team size, deployment pain and data ownership drive it, not fashion | "Microservices are always better" |
| 23 | Tell me about a technical decision you got wrong | Owns the mistake, explains how they found out, what they changed | Can't name one |
| 24 | How do you review code from a junior developer? | Explains the why, separates must-fix from nice-to-have, teaches | Rewrites it themselves |
| 25 | How do you make a service reliable at 3 a.m. when nobody is awake? | Monitoring, alerts on symptoms, runbooks, graceful degradation | "We'd notice in the morning" |
| 26 | How would you estimate a six-week project, and what do you do when it slips? | Breaks work down, flags risk early, trims scope before quality | Promises dates to please |
| 27 | Explain the CAP theorem with a system you have worked on | The consistency versus availability choice they made during a network split | Recites "pick two of three" with no example |
| 28 | How do you decide whether to build, buy or use open source? | Cost of ownership, team skills, security, lock-in | Builds everything |
| 29 | How do you disagree with a product manager about a deadline? | Data, options and trade-offs, then commits once decided | "I just tell them it's impossible" |
| 30 | What have you done to raise the engineering bar beyond your own code? | Hiring, mentoring, docs, tooling, an incident process | Nothing outside their own tickets |
System design questions ask a candidate to sketch how a real product would work at scale. They suit mid-level candidates in a light form and senior candidates in depth. The prompt matters less than the conversation: you are watching how they clarify requirements, estimate load, choose components and admit trade-offs.
| # | Prompt | What to listen for |
|---|---|---|
| 31 | Design a URL shortener | Unique ID generation, read-heavy traffic, caching, redirects, analytics |
| 32 | Design a rate limiter for a public API | Token bucket or sliding window, per-user limits, where the limiter sits |
| 33 | Design a notification system for SMS, email and WhatsApp messages | Queues, retries, user preferences, provider failover, no duplicate messages |
| 34 | Design the backend for a food delivery app's order tracking | Real-time location updates, websockets or polling, write-heavy load, load balancing |
| 35 | Design a feed for a social app | Fan-out on write versus read, ranking, caching for heavy users |
| 36 | Design a UPI-style payment flow that never charges a user twice | Idempotency keys, transactions, reconciliation, what happens on timeout |
The strongest candidates ask questions before drawing a single box: how many users, how fast, what can be slightly out of date, what must never be wrong. A candidate who starts drawing immediately is designing for a problem you didn't give them.
Behavioural questions ask for a real past example, and the best answers follow the STAR method: situation, task, action, result. They tell you how someone will behave on a bad day, which a coding test never will.
What good looks like: "I" rather than "we" when they describe their own action, a result with a number or an outcome, and a lesson they still apply. Vague answers ("I'm a team player") get one follow-up: "What did you do, exactly?"
Ask how candidates use AI tools and how they check what those tools produce. In the 2025 Stack Overflow Developer Survey, 84% of respondents said they use or plan to use AI tools in their development process, and the biggest frustration, cited by 66%, was "AI solutions that are almost right, but not quite." The skill you are hiring for has shifted: reviewing code matters as much as writing it.
A strong answer is calm and specific. They use the tools, they check the output, and they can name a bug they caught. Red flags sit at both ends: "I never use AI" in 2026 is as worrying as "I just accept what it gives me".
Question 47 is the most useful of the six. Hand over code with one planted bug (an off-by-one error, a missing null check, an unescaped SQL string) and watch them read it. It tells you more in five minutes than a whiteboard puzzle does in thirty.
Score every answer on a short written scale that you agree before the first interview, and score each candidate the same way. Structured interviews like this came out as the top-ranked selection method in a 2022 review of personnel selection research by Sackett and colleagues in the Journal of Applied Psychology. In an unstructured chat, each interviewer ends up scoring something different.
| Score | Meaning | Example (question 13, the slow query) |
|---|---|---|
| 1 | No answer, or a wrong one | "Add more RAM" |
| 2 | Knows the idea, can't apply it | "Maybe an index is missing?" with no way to check |
| 3 | Solid, works it out with prompting | Checks the query plan, finds the missing index |
| 4 | Strong, goes further unprompted | Finds the index, asks why the table grew and adds monitoring so it can't happen quietly again |
Three habits make the scale work. Write the score before you talk to the other interviewers, so the loudest opinion doesn't set it. Note one sentence of evidence next to each score. And decide your pass line before you see the candidates.
SpringVerify Hire uses the same principle in round one: every candidate gets the same structured interview, scored the same way, with a score and a reason for every skill.
Run the coding assessment first, then use the interview to make the candidate explain their own code. The assessment filters a large pile quickly and fairly. The interview confirms that the person who passed is the person who wrote it, and shows you how they think.
Here is a hiring loop that works at each level:
| Level | Round 1 (screen) | Round 2 | Round 3 | Final |
|---|---|---|---|---|
| Fresher or campus | Coding assessment and aptitude test, proctored | AI interview on fundamentals | Technical interview: walk through their test code | HR and offer |
| Mid-level (2 to 5 years) | Coding assessment, proctored | AI interview on fundamentals and past work | Technical interview: debugging and a light design task | Hiring manager and behaviour |
| Senior (6+ years) | Short coding assessment | AI interview on experience and behaviour | System design with two senior engineers | Leadership and culture round |
Five rules make the combination work:
Combine three things: proctoring during the test, a plagiarism check on the code, and a follow-up interview where the candidate explains the code. No single layer is enough on its own, and each one covers a gap the others leave.
The problem is real. In a Gartner survey of 3,000 job candidates in the second quarter of 2025, 6% admitted to interview fraud, either posing as someone else or having someone else pose as them. In an earlier Gartner survey of 3,290 candidates, 39% said they had used AI during the application process, and 29% of those used it to write answers to assessment questions. Gartner predicts that by 2028, one in four candidate profiles worldwide will be fake.
| Cheating method | What catches it |
|---|---|
| Copying a known solution from the internet | Plagiarism score on the submitted code |
| Pasting AI-generated code | Plagiarism score, then asking them to explain and change it live |
| A friend solving the test off-screen | Proctoring that flags outside help, plus the walk-through interview |
| Reading answers from a second screen | Proctoring that flags screen reading |
| A proxy taking the interview | Identity verification and a face match before the offer |
| Fake experience on the CV | Employment verification and a resume check |
Signs worth a closer look, even with proctoring in place: a perfect test score next to a shaky explanation, long pauses before every answer followed by fluent paragraphs, code style that changes halfway through a solution, and a candidate who won't turn their camera on for a scheduled interview. None of these proves anything alone. Each one is a reason to ask one more question.
SpringVerify Hire builds two of these layers into the first round. Its coding assessments come with an AI plagiarism score, and its proctoring flags screen reading and outside help during both assessments and interviews, so unfair means are caught before they cost your team an interview slot.
SpringVerify Hire runs the whole first round for you: every applicant takes a role-specific assessment and an AI interview, and your team gets a ranked shortlist in 24 hours. Your engineers spend their interview hours on people who have already shown they can code.
That matters at Indian hiring volumes. Nasscom's Strategic Review 2026 projects direct tech sector employment of about 6 million in FY26, with 135,000 net new employees. Behind each of those hires sits a pile of applications someone had to screen.
It works in four steps, all inside the SpringVerify dashboard:
The track record so far: 3.5 lakh+ AI interviews done, 1 lakh+ coding interviews, 250+ companies hiring with Hire, and a candidate NPS of 85. It includes an applicant tracking system (ATS) that tracks every candidate from application to offer, and an interview copilot with notes and prompts for hiring managers. It also integrates with 100+ ATS and HRMS platforms, so hiring data stays in one flow.
The language point matters more in India than most teams expect. A strong developer from a tier-2 college in Coimbatore or Indore may think faster in Tamil or Hindi than in interview English. Letting them answer the first round in their own language means you score the engineering, not the accent.
Pick SpringVerify Hire if you want your engineers interviewing only candidates who have already passed a fair, proctored first round, so your best people spend their week building product instead of screening.
Run identity, employment, education, resume and court record checks on software engineers, and start them as soon as a candidate makes the shortlist rather than after the offer. Catching a fake employer or an inflated title before the final round saves your senior engineers an afternoon and saves you an offer you'd have to withdraw.
SpringVerify's background verification for tech teams sets a check bundle by role:
| Bundle | Who it's for | Checks | Published turnaround |
|---|---|---|---|
| Developer | Engineers, QA, product, design | ID, employment verification, education, resume check, court record | Aadhaar and PAN in minutes; court check 1 to 2 hours; most employment checks 5 to 6 working days |
| Admin | DevOps, SRE, DBAs, IT and security admins | Developer bundle plus digital address, reference, credit and Court Check (Law Firm) | Address 24 to 48 hours; credit within 24 hours; Law Firm court check 2 working days |
| Executive | CTOs, VPs, heads of engineering | Admin bundle plus directorship check, DIN verification and global database verification | Directorship and DIN 0 to 2 working days |
Two checks matter most for engineers. A resume check compares what the candidate wrote on their CV against what they declared on their own BGV form, and flags omissions and inflated titles. And SpringVerify verifies AWS, Azure, GCP, Kubernetes and other IT certifications directly with the issuing bodies, so a certificate on a CV is a certificate the candidate earned.
From Hire, background verification starts in one click from the shortlist with no re-entry of data. Instant BGV returns interim reports in minutes on ID, UAN employment, court, credit, face match and bank account, and 80% of checks are completed within 48 hours.
Tech companies already run it this way. Before SpringVerify, the HR team at Atyantik Technologies, a 150+ person IT services company in Vadodara, spent nearly 50% of their workweek on background verification. Now HR initiates a verification in two clicks, and SpringVerify handles the follow-ups, validations and reports. At Humantic AI, Kalpana Prasanna, Founder's Office and HR Lead, said that with manual checks "a lot of time and effort was spent", and even then the team "did not get 100% accurate responses, definitely not in a given time frame."
SpringVerify Hire is a good fit if you hire software engineers often enough that first-round screening eats your engineers' time, and you want one place for assessments, interviews and background verification.
It's a strong fit if you:
It's probably not for you if you:
The most common questions cover data structures (arrays, linked lists, hash maps), time complexity, OOP, SQL versus NoSQL, a project walk-through, a hard bug you fixed and a behavioural question about teamwork or conflict. Senior roles add system design questions such as designing a URL shortener or a rate limiter.
Three to four rounds is enough for most roles: a coding assessment, one or two technical interviews and a final hiring manager or HR round. Senior roles add a system design round. Keep it tight, because every extra round is another chance to lose a strong candidate to a faster offer.
Ask freshers about fundamentals and their own projects: data structures, Big-O, OOP, SQL, Git and how they would test a simple function. Ask them to explain code they wrote, line by line. Their reasoning matters more than a perfect definition.
Many companies use the two titles for the same job. Where companies do separate them, "engineer" usually signals wider ownership of design, scale and reliability, while "developer" focuses on building features. The interview questions overlap almost entirely.
Use proctoring that flags screen reading and outside help, check submissions for plagiarism, and ask every candidate who passes to explain and change their code live. SpringVerify Hire's coding assessments include an AI plagiarism score, and its proctoring covers both tests and interviews.
Yes. An AI interviewer can ask every applicant the same structured questions by voice or video and score each answer with a reason. SpringVerify Hire runs these interviews in English and 11 Indian languages, then gives your team a ranked shortlist in 24 hours. Your engineers still run the final rounds.
Start it as soon as the candidate makes the shortlist, not after the offer. In SpringVerify, verification starts in one click from the Hire shortlist, with Instant BGV interim reports in minutes and 80% of checks completed within 48 hours.
You know which questions to ask. The hard part is finding the hours to ask them to hundreds of applicants. Book a SpringVerify Hire demo and see AI interviews, coding assessments and the ATS run on your own engineering roles, with your first ranked shortlist in 24 hours.
.png)