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 31–60 of 520 results

  • Akuna CapitalMediumSoftware Engineer
    Solve three C++ algorithmic tasks

    This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Solve three C++ algorithmic tasks states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Coding & AlgorithmsOnline Assessment
  • Akuna CapitalMediumSoftware Engineer
    Trace code and find frequent character

    Trace code and find frequent character evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Coding & AlgorithmsOnline Assessment
  • AmazonMediumSoftware Engineer
    Add One Source to Minimize Grid Inconvenience

    Minimize the worst inconvenience in a binary grid by adding one colored source. Movement is allowed in eight directions, and the solution must handle grids that begin with no source at all.

    Coding & AlgorithmsOnline Assessment
  • AmazonMediumSoftware Engineer
    Build the Largest Available Sequence

    This problem tests your ability to use a greedy approach combined with a frequency map to construct the lexicographically largest sequence under specific constraints.

    Coding & AlgorithmsOnline AssessmentGreedyPriority QueueFrequency Map
  • AmazonMediumSoftware Engineer
    Choose Work-Style Assessment Responses

    Tests a candidate's ability to navigate forced-choice and situational judgment items in an automated work-style assessment, balancing trade-offs between competing leadership values such as speed versus quality, autonomy versus consensus, and maintaining internal consistency.

    Behavioral & LeadershipOnline AssessmentAmazon OAWork Style AssessmentBehavioral
  • AmazonHardSoftware Engineer
    Circular Drone Hub Delivery Route

    This question evaluates a candidate's ability to work with circular array structures and prefix sums to compute shortest distances on a ring topology. It tests practical coding skill in efficiently handling wraparound arithmetic and cumulative sums, a common pattern in algorithm interviews assessing array manipulation and optimization under scale constraints.

    Coding & AlgorithmsOnline Assessment
  • AmazonMediumSoftware Engineer
    Compute delay times in priority array

    This question evaluates algorithmic efficiency in array processing, specifically reasoning about nearest-smaller relationships and the use of auxiliary structures to achieve subquadratic performance.

    Coding & AlgorithmsOnline Assessment
  • AmazonMediumSoftware Engineer
    Compute maximum distinct-product pickup days

    This question evaluates a candidate's understanding of greedy and resource-allocation strategies along with combinatorial reasoning to maximize operations under discrete constraints.

    Coding & AlgorithmsOnline Assessment
  • AmazonEasySoftware Engineer
    Compute minimal operations and optimal server pairing

    This two-part question evaluates array manipulation and optimization skills—specifically range-update minimization to enforce a nondecreasing sequence and greedy pairing/matching to maximize summed primary resources—testing algorithm design, complexity reasoning, and constraint handling.

    Coding & AlgorithmsOnline Assessment
  • AmazonMediumSoftware Engineer
    Compute reachability and minimal-time same-type scheduling

    This prompt evaluates integer reachability and invariant reasoning via repeated additive transformations (testing number-theoretic reachability and state-space analysis) alongside resource-aware scheduling and grouping logic for minimizing completion time under type and memory constraints, and it falls under the Coding & Algorithms domain.

    Coding & AlgorithmsOnline Assessment
  • 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 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
  • 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
  • AmazonMediumSoftware Engineer
    Design a TTL-Aware LRU Cache Without Full Expiration Scans

    Design a TTL-aware LRU cache with synchronized access, capacity eviction, and expiration heaps or timing wheels instead of full-table scans.

    Software Engineering FundamentalsOnline Assessment
  • AmazonMediumSoftware Engineer
    Design faster delay-time computation

    This question evaluates a candidate's ability to design efficient array algorithms and appropriate data structures for nearest-smaller-element queries, assessing performance, correctness with duplicates, and scalability to large inputs.

    Coding & AlgorithmsOnline Assessment
  • AmazonMediumSoftware Engineer
    Determine Rounds for Star Substring Threshold

    This question evaluates string-processing and algorithmic problem-solving skills, including handling incremental updates, counting substrings impacted by character replacements, and performance-aware simulation.

    Coding & AlgorithmsOnline Assessment
  • AmazonHardSoftware Engineer
    Diagnose Return Eligibility Scoring Bugs

    This question evaluates debugging and root-cause analysis skills related to scoring logic, data integrity, feature engineering, and system reliability in return-eligibility services.

    Software Engineering FundamentalsOnline Assessment
  • AmazonMediumSoftware Engineer
    Drone Circular Route — Minimum Total Travel Cost

    This problem tests your ability to solve a variation of the Traveling Salesman Problem using bitmask dynamic programming to optimize route costs in a small, weighted graph.

    Coding & AlgorithmsOnline AssessmentDynamic ProgrammingBitmaskingGraph Theory
  • AmazonHardSoftware Engineer
    Evaluate actions in Amazon simulation

    Evaluate actions in Amazon simulation 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 & LeadershipOnline Assessment
  • AmazonMediumSoftware Engineer
    Explain conflict, ownership, and AI use

    An Amazon-style behavioral interview prep set for early-career software engineers, spanning multiple conflict-resolution stories, deep root-cause investigation, ownership beyond your formal role, and responsible use of generative AI. It teaches a STAR-plus-reflection framework, what each prompt is really evaluating, and how to stay consistent under heavy follow-up questioning.

    Behavioral & LeadershipOnline Assessment
  • AmazonHardSoftware Engineer
    Fewest Severity Inversions When Interleaving Two Patch Queues

    Merge two severity-labeled patch queues into one install order that keeps each queue's internal order, and return the minimum number of severity inversions over every valid merge. Tests DP over two sequences and efficient counting with letters as priorities.

    Coding & AlgorithmsOnline Assessmentdynamic-programmingstringsinversions
  • AmazonHardSoftware Engineer
    Find Longest Activatable Server Streak

    This problem tests your ability to use the sliding window technique to find the longest contiguous subarray that satisfies a specific count-based constraint.

    Coding & AlgorithmsOnline AssessmentSliding WindowTwo PointersArray
  • AmazonHardSoftware Engineer
    Find a Maximum-Sum Window in a Sparse Array

    This problem tests the ability to optimize sliding window calculations for extremely large arrays by leveraging compressed data structures (run-length encoding) rather than materializing the full array.

    Coding & AlgorithmsOnline AssessmentSliding WindowArraysOptimization
  • AmazonMediumSoftware Engineer
    Find a valid dependency order

    This question evaluates understanding of directed graphs, dependency resolution and cycle detection, and the ability to reason about valid ordering constraints within a graph representation.

    Coding & AlgorithmsOnline Assessment
  • AmazonMediumSoftware Engineer
    Find longest segment with dominant ends

    This question evaluates algorithmic problem-solving with arrays and complexity-aware design, testing skills in efficient subarray identification, boundary reasoning, and performance analysis within the Coding & Algorithms domain.

    Coding & AlgorithmsOnline Assessment
  • AmazonMediumSoftware Engineer
    Find longest segment with endpoints > interior

    This question evaluates algorithmic design and array-processing skills, specifically reasoning about subarray endpoint vs interior relationships, range comparisons, and designing solutions with subquadratic time and space complexity.

    Coding & AlgorithmsOnline Assessment