Katkat

practice a little every day, paws crossed ♡

Software Engineer Interview Questions

Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.

9403
Questions
546
Companies
11
Topics
8
Languages

Showing 151–180 of 2336 results

  • AmazonMediumSoftware Engineer
    Implement a Single-Node Priority Pub/Sub

    This question evaluates understanding of concurrent system design, in-memory publish–subscribe semantics, prioritized delivery ordering, API and data structure selection, and thread-safety within the Software Engineering Fundamentals domain.

    Software Engineering FundamentalsOnsite
  • AmazonMediumSoftware Engineer
    Implement tree left/right views via BFS and DFS

    This question evaluates understanding of binary tree traversal techniques and algorithmic reasoning for producing per-depth left and right views, assessing competencies in data structures, traversal ordering, and correctness across edge cases.

    Coding & AlgorithmsOnsite
  • AmazonMediumSoftware Engineer
    Implement two array-cost minimization algorithms

    This question evaluates algorithm design, data structure selection, and complexity analysis by requiring implementations for minimizing total merge cost and for removing a contiguous block to minimize the sum of adjacent absolute differences.

    Coding & AlgorithmsOnsite
  • AmazonMediumSoftware Engineer
    Influence a Colleague Who Prefers a Different Approach

    Describe influencing a colleague through shared goals, fair comparison, evidence, willingness to revise, and a concrete collaborative decision.

    Behavioral & LeadershipOnsite
  • AmazonMediumSoftware Engineer
    Jukebox That Plays the Most-Requested Song First

    Design a request queue where each play takes the song with the most pending requests, with ties going to the most recent request. Tests keeping frequency and recency together so both operations run in O(1).

    Coding & AlgorithmsOnsitedesignhash-mapstack
  • AmazonMediumSoftware Engineer
    Kth Largest Perfect Binary Subtree

    This problem tests tree traversal techniques, the ability to validate binary tree properties recursively, and the use of selection algorithms to find order statistics.

    Coding & AlgorithmsOnsiteTreesRecursionSorting
  • AmazonMediumSoftware Engineer
    Leadership Principle Stories: Ownership, Dive Deep, Tight Deadline, Disagree and Commit

    Behavioral interview practice built around leadership principles: tell stories about taking ownership beyond your role, diving deep under repeated follow-ups, handling a tight deadline, and disagreeing with a teammate then committing. It tests first-person STAR storytelling, measurable results and mapping each story to the principle asked.

    Behavioral & LeadershipOnsite
  • AmazonMediumSoftware Engineer
    Leaf Domain Cumulative Scores

    This problem tests your ability to model hierarchical data using tree traversal and string manipulation to aggregate cumulative metrics across nested domains.

    Coding & AlgorithmsOnsiteHash MapString ManipulationTree Traversal
  • AmazonMediumSoftware Engineer
    Learn What You Need to Solve an Unfamiliar Problem

    Explain learning through an unfamiliar engineering challenge, with a defined knowledge gap, targeted resources, practical validation, expert feedback, and application.

    Behavioral & LeadershipOnsite
  • AmazonMediumSoftware Engineer
    Make a Difficult Decision Under Competing Constraints

    Tests your ability to navigate high-stakes technical or organizational trade-offs where constraints conflict, evaluate options objectively, communicate decisions with transparency, and take ownership of the outcomes.

    Behavioral & LeadershipOnsiteBehavioralAmazon Leadership PrinciplesDecision Making
  • AmazonMediumSoftware Engineer
    Make an Important Decision Before Every Option Can Be Explored

    Explain a time-limited decision by identifying essential evidence, accepted uncertainty, reversible steps, stakeholder communication, and outcome checks.

    Behavioral & LeadershipOnsite
  • AmazonMediumSoftware Engineer
    Making a Decision with Missing Data

    Tests a candidate's ability to demonstrate Amazon's 'Bias for Action' and 'Are Right, A Lot' leadership principles by executing a calculated, high-impact decision under uncertainty with clear rollback triggers.

    Behavioral & LeadershipOnsiteBehavioralBias for ActionDecision Making
  • AmazonMediumSoftware Engineer
    Measure platform success and drive adoption

    This question assesses your ability to design a telemetry and feedback system for an internal developer platform to measure adoption, identify friction points, and drive cross-team migration.

    System DesignOnsiteTelemetryDeveloper ExperienceMetrics
  • AmazonMediumSoftware Engineer
    Median of a Data Stream

    Design a data structure that continuously receives a stream of integers and efficiently supports retrieving the current running median, handling potential integer overflow during the median calculation.

    Coding & AlgorithmsOnsiteHeapData StreamDesign
  • AmazonMediumSoftware Engineer
    Merge overlapping and adjacent ranges

    This question evaluates a candidate's understanding of interval merging and range manipulation, including handling overlapping and adjacent ranges, edge cases like single-point gaps and extreme values, and the ability to analyze time and space complexity.

    Coding & AlgorithmsOnsite
  • AmazonMediumSoftware Engineer
    Message Rate Limiter

    Design an in-memory message rate limiter that allows or denies messages based on whether a given time window has elapsed since their last accepted occurrence.

    Coding & AlgorithmsOnsiteHash MapDesignRate Limiter
  • AmazonHardSoftware Engineer
    Minimize Replacements So Equal Product Values Are Contiguous

    This problem tests your ability to optimize data transformations by identifying contiguous blocks of identical values, modeled as a shortest-path or dynamic programming problem on a compressed representation of the array.

    Coding & AlgorithmsOnsiteGreedyDynamic ProgrammingData Structures
  • AmazonMediumSoftware Engineer
    Minimum Moves for a Squirrel to Carry Every Nut to a Tree One at a Time

    A squirrel on an obstacle-free grid must carry every nut to a tree, holding at most one nut at a time and moving one cell per step. The task asks for the minimum total number of moves over all delivery orders, testing reasoning about grid distances and how the order of deliveries affects the total.

    Coding & AlgorithmsOnsite
  • AmazonMediumSoftware Engineer
    Model an Extensible Employee Cost Calculator

    Model an extensible employee cost calculator combining salary, tax, benefits, and a signed location adjustment. Discuss precise money handling, explicit missing policies, canonical identifiers, versioned configuration, reproducible breakdowns, and boundary-focused tests.

    Software Engineering FundamentalsOnsite
  • AmazonMediumSoftware Engineer
    Negotiate an Impossible Project Timeline

    This question assesses your ability to manage stakeholder expectations, use data to drive project scoping, and maintain professional integrity when facing unrealistic deadlines.

    Behavioral & LeadershipOnsiteLeadershipProject ManagementStakeholder Management
  • AmazonMediumSoftware Engineer
    Order Dependent Tasks and Identify Work to Rerun

    Return any valid dependency order, detect cycles, and identify transitive reruns with a complete topological and reachability solution and order-independent validation.

    Coding & AlgorithmsOnsite
  • AmazonMediumSoftware Engineer
    Overcoming Major Obstacles to Reach an Important Goal

    A behavioral interview question asking the candidate to describe a time they overcame significant obstacles to reach an important goal. It tests ownership, persistence and judgment: how the obstacles were identified, which actions removed them, what result was achieved and what was learned.

    Behavioral & LeadershipOnsite
  • AmazonMediumSoftware Engineer
    Ownership Beyond Your Role: Stepping Outside Your Area and Driving an Improvement

    An Amazon behavioral question on ownership: describe taking on significant work outside your area of responsibility, and spotting a company improvement that you then drove to completion. It tests initiative, influence without authority, sustainable follow-through and measurable impact.

    Behavioral & LeadershipOnsite
  • AmazonHardSoftware Engineer
    Prepare Leadership Principle Stories

    This question assesses the ability to articulate past professional experiences using the STAR (Situation, Task, Action, Result) method, specifically focusing on demonstrating accountability, bias for action, and navigating high-stakes ambiguity.

    Behavioral & LeadershipOnsiteBehavioralSTAR-MethodLeadership
  • AmazonMediumSoftware Engineer
    Replace Delimited Tokens in a String

    This problem tests string manipulation, hash map lookups, and edge-case handling when parsing nested or malformed delimiters within a template string.

    Coding & AlgorithmsOnsiteStringsHash MapParsing
  • AmazonMediumSoftware Engineer
    Resolve a Conflict Between Metrics and Customer Feedback

    This question tests your ability to troubleshoot conflicting signals in A/B testing and product analytics, requiring a structured approach to reconciling quantitative data with qualitative sentiment.

    Analytics & ExperimentationOnsiteAnalyticsA/B TestingDecision Making
  • AmazonMediumSoftware Engineer
    Resolve a Significant Disagreement with a Manager or Colleague

    Explain a significant workplace disagreement through its underlying assumptions, respectful resolution, decision ownership, and follow-through.

    Behavioral & LeadershipOnsite
  • AmazonMediumSoftware Engineer
    Resolving a Meaningful Conflict

    This behavioral question evaluates your ability to navigate professional disagreements using data, uphold high technical standards, demonstrate Amazon's 'Have Backbone; Disagree and Commit' principle, and preserve long-term team trust.

    Behavioral & LeadershipOnsiteBehavioralAmazon LPConflict Resolution
  • AmazonMediumSoftware Engineer
    Review an existing architecture for risks

    This question tests the ability to analyze a distributed system architecture for single points of failure, scalability bottlenecks, and operational risks, while balancing engineering trade-offs.

    System DesignOnsiteScalabilityReliabilityArchitecture
  • AmazonMediumSoftware Engineer
    Root-Cause Analysis Under Uncertainty

    This question tests your structured approach to troubleshooting complex, ambiguous production issues and your ability to balance urgent mitigation with long-term systemic stability.

    Behavioral & LeadershipOnsiteBehavioralRoot-Cause AnalysisIncident Management