Software Engineer interview questions
Representative Software Engineer interview questions from our company guides, grouped by what they test. They are examples to prepare with, not a confirmed question bank of any company.
Behavioral (32)
Tell me about a time you took ownership of a problem beyond your assigned task.
From the Google guide · Practice it in a mock interview · Draft my answer from my resume
Can you describe a time you took ownership of a difficult technical problem?
From the Amazon guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a time you disagreed with a teammate about a technical decision. How did you resolve it?
From the Meta guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a disagreement with a teammate and how you reached a decision.
From the Microsoft guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a disagreement over a technical decision and how you helped resolve it.
From the NVIDIA guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that accepts bursty requests, preserves correctness, and remains observable under failure?
From the OpenAI guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a project where you took ownership of an unclear technical problem.
From the OpenAI guide · Practice it in a mock interview · Draft my answer from my resume
How did you handle a technical disagreement with a collaborator, and what changed because of the discussion?
From the OpenAI guide · Practice it in a mock interview · Draft my answer from my resume
How would you refactor this function to make its failure handling and tests clearer?
From the Anthropic guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a disagreement over technical direction and how you helped the team decide.
From the Anthropic guide · Practice it in a mock interview · Draft my answer from my resume
Describe a project you owned through an unexpected failure. What did you change afterward?
From the Anthropic guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a technical decision you owned and how you evaluated competing approaches.
From the Uber guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a disagreement with a teammate and how you reached a decision.
From the Netflix guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a disagreement with a teammate and how you reached a decision.
From the LinkedIn guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a disagreement with a teammate and how you moved the work forward.
From the IBM guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a time you took ownership of a technical problem beyond your assigned task.
From the Adobe guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a time you disagreed with a teammate on a technical decision. How did you move the work forward?
From the Salesforce guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a technical decision you owned and the evidence that guided it.
From the Shopify guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a project where you took ownership of an unclear problem.
From the Spotify guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a time you disagreed with a teammate and how you reached a decision.
From the TikTok guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a time you took ownership of a difficult engineering problem.
From the Palantir guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about an accomplishment that depended on collaboration across different perspectives.
From the McKinsey & Company guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a challenge where you took ownership despite unclear requirements.
From the McKinsey & Company guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a disagreement with a teammate and how you helped resolve it.
From the Boston Consulting Group guide · Practice it in a mock interview · Draft my answer from my resume
Describe a project you owned through an unexpected failure.
From the Boston Consulting Group guide · Practice it in a mock interview · Draft my answer from my resume
Why do you want to join Boston Consulting Group as a Software Engineer?
From the Boston Consulting Group guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a time you disagreed with a technical decision and how you handled it.
From the Bain & Company guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a disagreement with a teammate and how you reached a decision.
From the Goldman Sachs guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a technical disagreement and how the team reached a decision.
From the JPMorganChase guide · Practice it in a mock interview · Draft my answer from my resume
Tell me about a disagreement with a teammate and how you resolved it.
From the Apple guide · Practice it in a mock interview · Draft my answer from my resume
Why do you want this Software Engineer role on this team?
From the Apple guide · Practice it in a mock interview · Draft my answer from my resume
How did you handle a disagreement about a technical design, and what did you personally do to resolve it?
From the Stripe guide · Practice it in a mock interview · Draft my answer from my resume
Coding (28)
How would you improve code that is correct but difficult for another engineer to maintain?
From the Google guide · Practice it in a mock interview · Draft my answer from my resume
How would you detect a cycle in a linked list and explain the complexity of your approach?
From the Amazon guide · Practice it in a mock interview · Draft my answer from my resume
How would you implement a cache with predictable eviction behavior and explain your design choices?
From the Amazon guide · Practice it in a mock interview · Draft my answer from my resume
How would you determine whether a linked list contains a cycle, and how would you explain the time and space tradeoffs?
From the Meta guide · Practice it in a mock interview · Draft my answer from my resume
How would you improve code that works but is difficult to read or test?
From the Meta guide · Practice it in a mock interview · Draft my answer from my resume
Write a function that groups overlapping time intervals and explain its complexity.
From the Microsoft guide · Practice it in a mock interview · Draft my answer from my resume
How would you find and explain the cause of a performance regression in unfamiliar code?
From the NVIDIA guide · Practice it in a mock interview · Draft my answer from my resume
What tests would you write for code that processes malformed, duplicated, or delayed input?
From the OpenAI guide · Practice it in a mock interview · Draft my answer from my resume
How would you test a function that behaves differently at boundary conditions?
From the Uber guide · Practice it in a mock interview · Draft my answer from my resume
How would you improve code that works correctly but is difficult for another engineer to maintain?
From the Netflix guide · Practice it in a mock interview · Draft my answer from my resume
How would you improve code that works but is difficult for another engineer to maintain?
From the LinkedIn guide · Practice it in a mock interview · Draft my answer from my resume
What would you change in this code to improve readability, correctness, and maintainability?
From the IBM guide · Practice it in a mock interview · Draft my answer from my resume
How do you clarify an ambiguous technical requirement before writing code?
From the IBM guide · Practice it in a mock interview · Draft my answer from my resume
How would you test and refactor code that is correct but difficult to maintain?
From the Adobe guide · Practice it in a mock interview · Draft my answer from my resume
How would you determine whether a linked list contains a cycle, and what tradeoffs would you explain?
From the Salesforce guide · Practice it in a mock interview · Draft my answer from my resume
Given a working function with unclear names and duplicated logic, how would you improve it without changing its behavior?
From the Salesforce guide · Practice it in a mock interview · Draft my answer from my resume
How would you determine whether a linked list contains a cycle, and how would you explain the tradeoffs?
From the Shopify guide · Practice it in a mock interview · Draft my answer from my resume
How would you refactor a difficult-to-read function while preserving its behavior?
From the Shopify guide · Practice it in a mock interview · Draft my answer from my resume
How would you improve code that works correctly but is difficult for teammates to understand?
From the Spotify guide · Practice it in a mock interview · Draft my answer from my resume
How would you improve code that works but is difficult for another engineer to maintain?
From the McKinsey & Company guide · Practice it in a mock interview · Draft my answer from my resume
How do you improve code that works but is difficult for another engineer to maintain?
From the Boston Consulting Group guide · Practice it in a mock interview · Draft my answer from my resume
How would you determine whether a linked list contains a cycle, and how would you explain your approach?
From the Goldman Sachs guide · Practice it in a mock interview · Draft my answer from my resume
Walk me through how you would improve code that works but is difficult to maintain.
From the Goldman Sachs guide · Practice it in a mock interview · Draft my answer from my resume
How would you improve a function that works correctly but is difficult to read and test?
From the JPMorganChase guide · Practice it in a mock interview · Draft my answer from my resume
How would you design an algorithm to find the shortest path through a changing network?
From the Apple guide · Practice it in a mock interview · Draft my answer from my resume
How would you investigate a function that passes ordinary examples but fails on empty input or repeated values?
From the Tesla guide · Practice it in a mock interview · Draft my answer from my resume
How would you detect a cycle in a linked list, and what are the time and space costs of your approach?
From the Intel guide · Practice it in a mock interview · Draft my answer from my resume
When reviewing a function that sometimes creates duplicate records, how would you identify the cause and prioritize a fix?
From the Airbnb guide · Practice it in a mock interview · Draft my answer from my resume
System design (33)
How would you design a service that stores and retrieves frequently accessed objects with predictable eviction?
From the Google guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that remains available as traffic grows?
From the Amazon guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a notification service that supports several delivery channels and handles failures?
From the Meta guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that stores and retrieves user notifications reliably?
From the Microsoft guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that must remain available when a dependency fails?
From the NVIDIA guide · Practice it in a mock interview · Draft my answer from my resume
Walk me through the tradeoffs between a simpler design and a more scalable design for the same service.
From the OpenAI guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that queues and processes large inference requests?
From the Anthropic guide · Practice it in a mock interview · Draft my answer from my resume
Which tradeoffs would you make among latency, cost, reliability, and consistency?
From the Anthropic guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that matches incoming requests with available providers?
From the Uber guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that delivers personalized content while handling failures gracefully?
From the Netflix guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a professional activity feed that remains responsive as traffic grows?
From the LinkedIn guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that stores and retrieves frequently changing user preferences?
From the IBM guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that stores and retrieves large creative assets reliably?
From the Adobe guide · Practice it in a mock interview · Draft my answer from my resume
Design a notification service and explain how you would handle delivery failures and changing demand.
From the Salesforce guide · Practice it in a mock interview · Draft my answer from my resume
Design a service that keeps product inventory consistent during concurrent updates.
From the Shopify guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that delivers personalized audio recommendations under changing traffic?
From the Spotify guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a short-video feed that stays responsive as traffic grows?
From the TikTok guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that lets teams search and update shared records?
From the Palantir guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that remains available when a dependency fails?
From the McKinsey & Company guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that accepts jobs, processes them reliably, and reports their status?
From the Boston Consulting Group guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that accepts jobs, processes them asynchronously, and reports their status?
From the Bain & Company guide · Practice it in a mock interview · Draft my answer from my resume
How would you respond if new information invalidated an assumption in your design?
From the Bain & Company guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a notification service that remains available during component failures?
From the Goldman Sachs guide · Practice it in a mock interview · Draft my answer from my resume
Describe a system or feature you owned and how you handled an unexpected problem.
From the Goldman Sachs guide · Practice it in a mock interview · Draft my answer from my resume
How would you diagnose a sudden increase in request latency?
From the Goldman Sachs guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that processes payment events reliably and recovers from failures?
From the JPMorganChase guide · Practice it in a mock interview · Draft my answer from my resume
Design a service that keeps user data synchronized across devices while handling failures.
From the Apple guide · Practice it in a mock interview · Draft my answer from my resume
Walk me through the tradeoffs in your design and how you would test it.
From the Apple guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that accepts device events, stores them, and supports queries as traffic grows?
From the Tesla guide · Practice it in a mock interview · Draft my answer from my resume
What would you change in that design if events could arrive late or be delivered more than once?
From the Tesla guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a webhook delivery service that supports retries without creating duplicate side effects?
From the Stripe guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a service that collects device telemetry while keeping memory use bounded?
From the Intel guide · Practice it in a mock interview · Draft my answer from my resume
How would you design a reservation service that prevents concurrent requests from booking the same inventory?
From the Airbnb guide · Practice it in a mock interview · Draft my answer from my resume
Technical (78)
How would you find the shortest path through a graph whose connections can change over time?
From the Google guide · Practice it in a mock interview · Draft my answer from my resume
Describe a technical disagreement with a teammate and how you reached a decision.
From the Google guide · Practice it in a mock interview · Draft my answer from my resume
How would you test a solution that must behave correctly under concurrent requests?
From the Google guide · Practice it in a mock interview · Draft my answer from my resume
What tradeoffs would you consider when choosing between relational and non-relational storage?
From the Amazon guide · Practice it in a mock interview · Draft my answer from my resume
How have you handled a technical disagreement while maintaining collaboration?
From the Amazon guide · Practice it in a mock interview · Draft my answer from my resume
How would you diagnose a service that becomes slow under load?
From the Amazon guide · Practice it in a mock interview · Draft my answer from my resume
How would you find repeated values in a large collection while keeping memory use in mind?
From the Meta guide · Practice it in a mock interview · Draft my answer from my resume
Describe a project you owned from an unclear problem through delivery. What did you learn?
From the Meta guide · Practice it in a mock interview · Draft my answer from my resume
What motivates you in your next Software Engineer role?
From the Meta guide · Practice it in a mock interview · Draft my answer from my resume
How would you find repeated values in a large collection while controlling memory use?
From the Microsoft guide · Practice it in a mock interview · Draft my answer from my resume
How would you test a component that depends on an unreliable external service?
From the Microsoft guide · Practice it in a mock interview · Draft my answer from my resume
Which project on your resume best demonstrates ownership, and what did you personally deliver?
From the Microsoft guide · Practice it in a mock interview · Draft my answer from my resume
How would you choose a data structure for fast lookups while controlling memory use?
From the NVIDIA guide · Practice it in a mock interview · Draft my answer from my resume
What tradeoffs would you consider when dividing work between parallel processes?
From the NVIDIA guide · Practice it in a mock interview · Draft my answer from my resume
Describe a project you owned, the decisions you made, and what you would change now.
From the NVIDIA guide · Practice it in a mock interview · Draft my answer from my resume
How would you find and explain an efficient way to detect a cycle in a directed graph?
From the OpenAI guide · Practice it in a mock interview · Draft my answer from my resume
How would you determine whether a directed graph contains a cycle, and how would you explain the complexity?
From the Anthropic guide · Practice it in a mock interview · Draft my answer from my resume
How would you find and remove duplicate values from a large stream while explaining your memory tradeoffs?
From the Uber guide · Practice it in a mock interview · Draft my answer from my resume
Describe a disagreement with a teammate and how you reached a workable decision.
From the Uber guide · Practice it in a mock interview · Draft my answer from my resume
How would you diagnose a service that becomes slow as traffic grows?
From the Uber guide · Practice it in a mock interview · Draft my answer from my resume
How would you find and explain an efficient solution for repeated lookups in a large collection?
From the Netflix guide · Practice it in a mock interview · Draft my answer from my resume
What tradeoffs would you consider when choosing between consistency and availability?
From the Netflix guide · Practice it in a mock interview · Draft my answer from my resume
Describe a project you owned through an unexpected setback.
From the Netflix guide · Practice it in a mock interview · Draft my answer from my resume
What kind of engineering work excites you, and which experience best demonstrates that interest?
From the Netflix guide · Practice it in a mock interview · Draft my answer from my resume
How would you determine whether a linked structure contains a cycle, and how would you explain the complexity of your approach?
From the LinkedIn guide · Practice it in a mock interview · Draft my answer from my resume
Describe a project you owned from an unclear requirement through delivery.
From the LinkedIn guide · Practice it in a mock interview · Draft my answer from my resume
What tradeoffs would you consider when choosing between synchronous and asynchronous processing?
From the LinkedIn guide · Practice it in a mock interview · Draft my answer from my resume
How would you find and remove duplicate values from a large collection while explaining your complexity choices?
From the IBM guide · Practice it in a mock interview · Draft my answer from my resume
Describe a project you owned, the tradeoffs you made, and what you learned.
From the IBM guide · Practice it in a mock interview · Draft my answer from my resume
How would you find the first nonrepeating character in a stream, and what tradeoffs would you consider?
From the Adobe guide · Practice it in a mock interview · Draft my answer from my resume
Describe a disagreement with a teammate and how you reached a decision.
From the Adobe guide · Practice it in a mock interview · Draft my answer from my resume
How would you explain a complex engineering tradeoff to a nontechnical stakeholder?
From the Adobe guide · Practice it in a mock interview · Draft my answer from my resume
Describe a project where you took ownership of a problem beyond your assigned task.
From the Salesforce guide · Practice it in a mock interview · Draft my answer from my resume
What would you do if a production issue appeared while your team was preparing a release?
From the Salesforce guide · Practice it in a mock interview · Draft my answer from my resume
Describe a disagreement with a teammate and how the group reached a decision.
From the Shopify guide · Practice it in a mock interview · Draft my answer from my resume
How would you investigate a production issue when the initial symptoms are incomplete?
From the Shopify guide · Practice it in a mock interview · Draft my answer from my resume
How would you find a repeated item in a large stream while keeping memory use controlled?
From the Spotify guide · Practice it in a mock interview · Draft my answer from my resume
Describe a disagreement with a collaborator and how you reached a decision.
From the Spotify guide · Practice it in a mock interview · Draft my answer from my resume
How do you respond when new information invalidates your original technical approach?
From the Spotify guide · Practice it in a mock interview · Draft my answer from my resume
How would you find repeated values in a large stream while controlling memory use?
From the TikTok guide · Practice it in a mock interview · Draft my answer from my resume
Walk me through your solution, its complexity, and the edge cases you would test.
From the TikTok guide · Practice it in a mock interview · Draft my answer from my resume
Suppose a project requirement changes close to delivery. How would you reassess the plan?
From the TikTok guide · Practice it in a mock interview · Draft my answer from my resume
How would you take ownership of a production issue while keeping collaborators informed?
From the TikTok guide · Practice it in a mock interview · Draft my answer from my resume
How would you find repeated values in a large stream while controlling memory use?
From the Palantir guide · Practice it in a mock interview · Draft my answer from my resume
Which data structure would you choose for frequent lookups and ordered traversal, and why?
From the Palantir guide · Practice it in a mock interview · Draft my answer from my resume
How would you improve this working solution for readability, testing, and performance?
From the Palantir guide · Practice it in a mock interview · Draft my answer from my resume
Describe a technical problem with several reasonable solutions. How did you choose an approach?
From the Palantir guide · Practice it in a mock interview · Draft my answer from my resume
Describe a disagreement with a teammate and how you reached a decision.
From the Palantir guide · Practice it in a mock interview · Draft my answer from my resume
How would you choose a data structure for tracking frequently changing priorities?
From the McKinsey & Company guide · Practice it in a mock interview · Draft my answer from my resume
How would you find and explain the most efficient path through a network?
From the McKinsey & Company guide · Practice it in a mock interview · Draft my answer from my resume
How would you structure an ambiguous business problem before analyzing possible solutions?
From the McKinsey & Company guide · Practice it in a mock interview · Draft my answer from my resume
How would you find repeated values in a large collection while managing memory use?
From the Boston Consulting Group guide · Practice it in a mock interview · Draft my answer from my resume
What tradeoffs would you consider when choosing between a relational database and a document store?
From the Boston Consulting Group guide · Practice it in a mock interview · Draft my answer from my resume
How would you find a duplicate value in a large collection, and what tradeoffs would you consider?
From the Bain & Company guide · Practice it in a mock interview · Draft my answer from my resume
Walk me through how you would test and improve this implementation.
From the Bain & Company guide · Practice it in a mock interview · Draft my answer from my resume
Describe a project you owned when the requirements were unclear.
From the Bain & Company guide · Practice it in a mock interview · Draft my answer from my resume
How would you find duplicate records in a large stream while explaining your time and space tradeoffs?
From the JPMorganChase guide · Practice it in a mock interview · Draft my answer from my resume
What edge cases would you test for a cache with limited capacity?
From the JPMorganChase guide · Practice it in a mock interview · Draft my answer from my resume
Describe a project where you took ownership of a problem beyond your initial task.
From the JPMorganChase guide · Practice it in a mock interview · Draft my answer from my resume
How would you improve the time and space complexity of this solution?
From the Apple guide · Practice it in a mock interview · Draft my answer from my resume
What did you own in a difficult project, and what would you change?
From the Apple guide · Practice it in a mock interview · Draft my answer from my resume
How would you remove duplicate event identifiers while preserving their original order, and how would you test the solution?
From the Tesla guide · Practice it in a mock interview · Draft my answer from my resume
How did you resolve a technical disagreement with a teammate, and what evidence informed the decision?
From the Tesla guide · Practice it in a mock interview · Draft my answer from my resume
What happened when you took ownership of a production issue, and how did you verify that your fix worked?
From the Tesla guide · Practice it in a mock interview · Draft my answer from my resume
How would you choose a data structure for deduplicating incoming events while keeping memory use bounded?
From the Stripe guide · Practice it in a mock interview · Draft my answer from my resume
How would you adapt an event aggregator to handle updates that arrive out of order?
From the Stripe guide · Practice it in a mock interview · Draft my answer from my resume
How would you isolate a defect in an unfamiliar repository when a test fails only for empty input?
From the Stripe guide · Practice it in a mock interview · Draft my answer from my resume
How would you integrate a paginated API while handling timeouts, malformed responses, and retries?
From the Stripe guide · Practice it in a mock interview · Draft my answer from my resume
How would you refactor a parser to support a new input format while preserving existing behavior?
From the Stripe guide · Practice it in a mock interview · Draft my answer from my resume
In C++, how would you make ownership of a buffer explicit when it passes between components?
From the Intel guide · Practice it in a mock interview · Draft my answer from my resume
How would you investigate a performance regression after a compiler change?
From the Intel guide · Practice it in a mock interview · Draft my answer from my resume
How did you resolve a disagreement over a technical decision with another team?
From the Intel guide · Practice it in a mock interview · Draft my answer from my resume
When you owned a production issue, what evidence did you gather, and how did you verify that your change resolved it?
From the Intel guide · Practice it in a mock interview · Draft my answer from my resume
How would you merge overlapping availability intervals, and which edge cases would you test?
From the Airbnb guide · Practice it in a mock interview · Draft my answer from my resume
How would you find the shortest path through a graph, and how would your approach change if edges had different weights?
From the Airbnb guide · Practice it in a mock interview · Draft my answer from my resume
What would you do if a cached availability result disagreed with the reservation database?
From the Airbnb guide · Practice it in a mock interview · Draft my answer from my resume
Can you describe a disagreement with a teammate and explain how you reached a decision?
From the Airbnb guide · Practice it in a mock interview · Draft my answer from my resume
When has a change you owned caused an unexpected problem, and how did you respond?
From the Airbnb guide · Practice it in a mock interview · Draft my answer from my resume