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 241–270 of 5874 results

  • AmazonMediumSoftware Engineer
    Compute shortest path with obstacles

    This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Compute shortest path with obstacles states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Coding & AlgorithmsTechnical Screen
  • AmazonMediumSoftware Engineer
    Compute the Median After Each Stream Insertion

    This problem tests your ability to maintain dynamic statistics in a data stream using efficient data structures to achieve logarithmic insertion and constant-time retrieval.

    Coding & AlgorithmsOnsiteHeapsData StreamsSorting
  • AmazonEasySoftware Engineer
    Compute the Minimum Number of Meeting Rooms

    This problem tests your ability to manage overlapping time intervals efficiently, requiring an understanding of sorting or priority queues to track resource utilization.

    Coding & AlgorithmsTechnical ScreenSortingIntervalsGreedy
  • AmazonMediumSoftware Engineer
    Compute total revenue from greedy VM rentals

    This problem tests your ability to use greedy strategies combined with efficient data structures to manage resource allocation and optimize revenue based on priority-based demand.

    Coding & AlgorithmsTechnical ScreenGreedyData StructuresHeap
  • AmazonMediumSoftware Engineer
    Compute tree diameter

    This question evaluates understanding of binary tree algorithms, recursion versus iterative traversal strategies, and competence in algorithmic analysis including time and space complexity and handling deep-recursion stack overflow when computing a tree's diameter.

    Coding & AlgorithmsTechnical Screen
  • AmazonMediumSoftware Engineer
    Compute unique visitors per department from clicks

    This question evaluates a candidate's skill in data manipulation and deduplication using SQL/Python, specifically mapping hierarchical product metadata to departments and computing unique user counts without double-counting, and is categorized under Data Manipulation (SQL/Python).

    Data Manipulation (SQL/Python)Technical Screen
  • AmazonMediumSoftware Engineer
    Control Robot Charging with Repeated Polling and Exclusive Station Assignments

    Design a repeatedly invoked robot-charging controller with strict battery thresholds, exclusive station assignments, waiting robots, and safe command retries.

    Software Engineering FundamentalsTechnical Screen
  • AmazonMediumSoftware Engineer
    Count Connected Components in an Undirected Graph

    This question tests the ability to traverse an undirected graph using graph search algorithms to identify and count disjoint subgraphs.

    Coding & AlgorithmsTechnical ScreenGraphsBFSDFS
  • AmazonMediumSoftware Engineer
    Count Customers Who Visited on Multiple Dates

    Tests data manipulation, hash set/map aggregation, and date deduplication to identify users with repeat visits across distinct calendar days.

    Coding & AlgorithmsTechnical ScreenHash TableCountingString
  • AmazonMediumSoftware Engineer
    Count Four-Neighbor Islands in a Binary Matrix

    Count four-neighbor islands in a binary matrix and consider the connectivity state needed when rows arrive as a stream.

    Coding & AlgorithmsOnline Assessment
  • AmazonMediumSoftware Engineer
    Count expressions reaching a target sum

    This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Count expressions reaching a target sum states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Coding & AlgorithmsOnsite
  • AmazonMediumSoftware Engineer
    Count partitions and equal-cost packages

    This question evaluates string-processing and combinatorial counting skills, including tracking distinct-character occurrences across contiguous partitions and using frequency-based pairing logic on arrays to form equal-cost packages.

    Coding & AlgorithmsOnline Assessment
  • AmazonMediumSoftware Engineer
    Count regions with DFS

    This question evaluates proficiency in graph traversal and grid-based connected-component detection using depth-first search on a binary m x n grid, along with algorithmic complexity analysis and techniques to avoid revisiting cells.

    Coding & AlgorithmsTechnical Screen
  • AmazonMediumSoftware Engineer
    Count the Distinct Binary Search Tree Shapes for Keys 1 to n

    Count how many structurally different binary search trees can store the keys 1 through n exactly once, for n up to 19. It tests reasoning about how tree shapes decompose and counting combinatorial structures efficiently instead of building every tree.

    Coding & AlgorithmsOther
  • AmazonHardSoftware Engineer
    Count unique Morse-code word transformations

    This question evaluates a candidate's ability to implement string transformations based on a fixed character-to-code mapping and to identify distinct results, testing competencies in encoding, string manipulation, and deduplication.

    Coding & AlgorithmsTechnical Screen
  • AmazonMediumSoftware Engineer
    Course Prerequisite Feasibility

    This question tests the ability to detect cycles in a directed graph to determine if a set of academic courses with prerequisite constraints can be completed.

    Coding & AlgorithmsTechnical ScreenGraphDFSTopological Sort
  • AmazonMediumSoftware Engineer
    Create a Binary Tree from Parent-Child Descriptions

    Construct one valid binary tree from unordered parent-child descriptions that identify left and right links. Reuse node identities across records, support children appearing before parents, and return the unique root.

    Coding & AlgorithmsTechnical Screen
  • AmazonMediumSoftware Engineer
    Customer Focus: Going Above and Beyond and Shipping a Customer-Driven Change

    An Amazon behavioral question on customer focus: describe a time you went above and beyond for a customer, and a change you made that was driven by customer needs. It tests how you discover customer problems, act on them beyond expectations, and measure the impact.

    Behavioral & LeadershipOnsite
  • AmazonHardSoftware Engineer
    Debug Failing Tests in a Django Movie Search and Filter API

    Debug an existing Django movie catalog API whose automated tests fail, covering URL routing, query parameter handling, queryset filters on genre, director, writer, rating and year, result ordering with tie-breakers, and HTTP 500 errors. It tests a systematic, layer-by-layer debugging process under a time limit.

    Software Engineering FundamentalsOnline Assessment
  • AmazonMediumSoftware Engineer
    Debug Watch List Movie Operations

    This question evaluates backend debugging, RESTful API semantics, data validation and integrity, persistence behavior, and correct HTTP status and error-response handling for watch-list movie operations.

    Software Engineering FundamentalsOnline Assessment
  • AmazonHardSoftware Engineer
    Debug a Layered Book Search Service Against Five Search Rules

    Given a layered bookstore search backend with planted bugs, write failing tests for substring matching, scope selection, case-insensitivity, multi-key ordering and visibility, then locate and fix every defect without changing the API contract. Tests test-first debugging across layers and query design.

    Software Engineering FundamentalsOnline Assessmentdebuggingtestingsearch
  • AmazonMediumSoftware Engineer
    Debug a Node.js car-rental backend: leaked cars, missing new cars, lost edits

    An unfamiliar Node.js car-rental backend with API documentation and failing preset tests has three independent bugs: the My Cars list shows other users' cars, newly added cars never appear, and edits vanish after a refresh. The question tests systematic debugging, ownership checks across endpoints, and confirming that writes really persist.

    Software Engineering FundamentalsOnline Assessment
  • AmazonMediumSoftware Engineer
    Debug a Test-Driven C++ Project

    Tests your ability to design and implement a sliding-window rate limiter with deduplication and state cleanup, reflecting common logic and edge-case errors encountered when debugging test-driven C++ systems.

    Software Engineering FundamentalsOnline AssessmentSliding WindowDesignHash Table
  • AmazonHardSoftware Engineer
    Debug an Issue-Creation API Failure

    This problem tests your systematic troubleshooting methodology for a distributed system, focusing on narrowing down the root cause of an API request failure.

    Software Engineering FundamentalsTechnical ScreenDebuggingSystem ArchitectureDistributed Systems
  • AmazonMediumSoftware Engineer
    Deliver Under a Tight Deadline with Clear Tradeoffs

    Explain a tight-deadline delivery through a concise situation, scope tradeoff, personal action, stakeholder agreement, and verifiable result.

    Behavioral & LeadershipTechnical Screen
  • AmazonMediumSoftware Engineer
    Deliver a Feature Under a Tight Deadline

    This question assesses a candidate's ability to prioritize project scope, manage cross-functional dependencies, and maintain delivery quality under significant time pressure.

    Behavioral & LeadershipTechnical ScreenProject ManagementPrioritizationLeadership
  • AmazonMediumSoftware Engineer
    Deliver an Important Project Under a Tight Deadline

    Describe deadline-driven project delivery through business priorities, scope and quality tradeoffs, dependency management, and evidence of the delivered impact.

    Behavioral & LeadershipOnsite
  • AmazonMediumSoftware Engineer
    Demonstrate Bias for Action

    Demonstrate Bias for Action evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Behavioral & LeadershipTechnical Screen
  • AmazonMediumSoftware Engineer
    Demonstrate Leadership Principles in Projects

    Demonstrate Leadership Principles in Projects evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Behavioral & LeadershipTechnical Screen
  • AmazonEasySoftware Engineer
    Demonstrate Project Ownership and In-Depth Investigation

    Tests your ability to demonstrate Amazon Leadership Principles—specifically Ownership and Dive Deep—by explaining how you diagnosed a complex technical problem and saw the solution through to completion.

    Behavioral & LeadershipTechnical Screenbehavioralamazon-lpownership