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 271–300 of 2810 results

  • AmazonMediumSoftware Engineer
    Solve tree and DP problems

    This pair of problems evaluates proficiency with tree data structures and traversal concepts (deepest shared ancestor) and with dynamic programming/state optimization on linear arrays (maximizing non-adjacent house values), assessing algorithmic reasoning, complexity awareness, and data-structure manipulation.

    Coding & AlgorithmsTechnical Screen
  • AmazonMediumSoftware Engineer
    Stand by a Disputed Technical Judgment

    This question assesses the candidate's ability to navigate professional disagreement, exercise intellectual humility, and maintain team cohesion while advocating for technical standards.

    Behavioral & LeadershipTechnical ScreenBehavioralLeadershipCommunication
  • AmazonMediumSoftware Engineer
    Step Outside Your Professional Comfort Zone

    Tell about deliberately stepping outside your professional comfort zone in responsibility, domain, influence, or communication. Explain the real risk, why you accepted it, preparation and feedback, the outcome, and how the experience changed later behavior.

    Behavioral & LeadershipTechnical Screen
  • AmazonMediumSoftware Engineer
    Support a Struggling Teammate Without Sacrificing Team Health

    This question assesses the candidate's ability to balance individual empathy and mentorship with team productivity and project deadlines, testing their conflict resolution and leadership skills.

    Behavioral & LeadershipTechnical ScreenBehavioralLeadershipConflict Resolution
  • AmazonHardSoftware Engineer
    Taking Ownership of a Technically Risky Project

    This question tests your ability to identify and mitigate significant technical risks in a project while demonstrating leadership, accountability, and the ability to influence stakeholders.

    Behavioral & LeadershipTechnical ScreenLeadershipOwnershipRisk Management
  • AmazonMediumSoftware Engineer
    Track Missing Package IDs from Out-of-Order Receipts

    This problem tests the ability to track a range of sequential integers and identify gaps in a stream of incoming data using efficient data structures.

    Coding & AlgorithmsTechnical ScreenArraysHash TablesData Structures
  • AmazonMediumSoftware Engineer
    Track the Contiguous Package Frontier and Missing IDs

    This problem tests your ability to manage sparse, out-of-order data using data structures like sets or priority queues and finding gaps within a contiguous range.

    Coding & AlgorithmsTechnical ScreenData StructuresHashingArrays
  • AmazonMediumSoftware Engineer
    Trade Short-Term Benefit for Long-Term Success

    Tell about sacrificing a concrete short-term benefit to improve the odds of long-term success. Identify affected stakeholders, evidence, agreement, downside limits, a reconsideration checkpoint, and measurable or defensible later results.

    Behavioral & LeadershipTechnical Screen
  • AmazonEasySoftware Engineer
    Turn Critical Feedback into a Measurable Improvement

    This question tests your ability to receive constructive criticism professionally, analyze it objectively, and implement data-driven improvements in your engineering practices.

    Behavioral & LeadershipTechnical ScreenLeadershipSoft SkillsContinuous Improvement
  • AmazonEasySoftware Engineer
    Unify Stock-Trading Profit Variants

    This problem tests state-space dynamic programming by unifying different stock trading constraints (transaction limits and per-transaction fees) into a single optimized state-transition model.

    Coding & AlgorithmsTechnical ScreenDynamic ProgrammingState MachineOptimization
  • AmazonHardSoftware Engineer
    Use a Fitted Line to Predict a Future Data Point

    This question tests the ability to implement a simple linear regression predictor and analyze the reliability of extrapolating time-series data using basic statistical heuristics.

    Machine LearningTechnical ScreenRegressionTime SeriesStatistics
  • AmazonMediumSoftware Engineer
    Validate AI-Generated Code Safely

    Implement a static validation engine that inspects an Abstract Syntax Tree (AST) representation of AI-generated code to enforce security, safety, and complexity boundaries.

    Software Engineering FundamentalsTechnical ScreenCode SafetyASTTree Traversal
  • AmazonEasySoftware Engineer
    Validate Properly Nested Brackets

    Tests understanding of basic data structures—specifically stacks—to validate balanced and nested bracket sequences in linear time.

    Coding & AlgorithmsTechnical Screenstackstringsdata-structures
  • AmazonMediumSoftware Engineer
    Validate a training courses catalog

    This problem tests your ability to model prerequisites as a directed graph and detect circular dependencies using cycle detection algorithms (Kahn's or DFS).

    Coding & AlgorithmsTechnical ScreenGraphTopological SortDFS
  • Ambience HealthcareMediumSoftware Engineer
    Design a least-recently-used cache

    Design a least-recently-used cache 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 & AlgorithmsTechnical Screen
  • AmericanEasySoftware Engineer
    Debug and Extend a Nested-Class Program

    This problem tests your ability to identify state synchronization issues in nested class structures and implement a thread-safe extension to existing class logic.

    Software Engineering FundamentalsTechnical ScreenDebuggingObject-Oriented ProgrammingEncapsulation
  • AmperityMediumSoftware Engineer
    Bring Nontechnical Stakeholders On Board

    Tests your ability to translate technical initiatives into business value, build cross-functional consensus, and demonstrate measurable adoption with nontechnical stakeholders.

    Behavioral & LeadershipTechnical ScreenBehavioralStakeholder ManagementCommunication
  • AmperityMediumSoftware Engineer
    Design a Metrics Collection System

    Design an end-to-end distributed metrics collection and monitoring pipeline capable of ingesting millions of data points per second, handling label cardinality risks, and supporting low-latency time-series queries.

    System DesignTechnical Screensystem-designtime-seriesdistributed-systems
  • AmperityHardSoftware Engineer
    Implement the Core of Minesweeper

    Design an object-oriented Minesweeper game engine featuring state management, board generation, flood-fill cell revealing, and testable boundaries.

    Software Engineering FundamentalsTechnical ScreenObject-Oriented DesignBFSState Machine
  • AmperityMediumSoftware Engineer
    Resolve a Difficult Project Challenge

    This question assesses a candidate's ability to navigate complex engineering challenges by demonstrating a structured approach to problem-solving, stakeholder management, and iterative execution.

    Behavioral & LeadershipTechnical ScreenLeadershipProject ManagementProblem Solving
  • AmplitudeMediumSoftware Engineer
    Swap kth-from-end node with head

    This question evaluates a candidate's understanding of singly linked list pointer manipulation, in-place node swapping with O(1) extra memory, and handling of edge cases such as when the k-th node from the end is the head.

    Coding & AlgorithmsTechnical Screen
  • AncestryMediumSoftware Engineer
    Explain learning paradigms, loss, and embeddings

    This question evaluates understanding of core machine learning concepts—learning paradigms (supervised, unsupervised, self-supervised), loss functions, and embeddings—and the competency to explain their roles and interrelations in model training and inference.

    Machine LearningTechnical Screen
  • Anchorage DigitalMediumSoftware Engineer
    Design a dynamic leaderboard with rank queries

    This question tests the ability to maintain a dynamic set of scores and efficiently query the rank of a user, requiring a balance between update complexity and retrieval time.

    Coding & AlgorithmsTechnical ScreenData StructuresOrder StatisticsTrees
  • Anchorage DigitalMediumSoftware Engineer
    Print the File System State

    This problem tests your ability to recursively traverse a tree structure and format the output into a specific, ordered directory-style string representation.

    Coding & AlgorithmsTechnical ScreenTrieRecursionTrees
  • AndurilMediumSoftware Engineer
    Find Heap Objects Not Referenced by the Stack

    Implement a simplified mark-and-sweep sweep phase to identify unreferenced heap objects given a list of heap allocations and stack root pointers.

    Coding & AlgorithmsTechnical Screenhash-tablememory-managementarrays
  • AndurilMediumSoftware Engineer
    Find Unreachable Objects in a Heap Graph

    Implement a mark-phase reachability analysis for a heap graph starting from stack roots, returning unreachable heap addresses in their original order while handling cycles, self-references, and dangling pointers.

    Coding & AlgorithmsTechnical Screengraphsbfs-dfshash-table
  • AndurilMediumSoftware Engineer
    Maximize Profit From Cutting Rods

    This problem tests dynamic programming and optimization skills by requiring the calculation of the maximum profit obtainable from cutting a rod into integer-length pieces with given price values.

    Coding & AlgorithmsTechnical ScreenDynamic ProgrammingOptimizationAlgorithms
  • AnrokMediumSoftware Engineer
    Batch Key Lookups Into One HTTP Request per 100 ms With Callbacks

    A callback-based batching exercise: implement start_fetch(key, callback) so that lookups made within a 100 ms window are sent to a /get?keys= endpoint as one HTTP request, using only http_get_request and set_timeout. It tests timer scheduling, per-key callback bookkeeping and keeping overlapping in-flight batches apart on an event loop.

    Software Engineering FundamentalsTechnical Screen
  • AnrokHardSoftware Engineer
    Design async batched key-value fetcher

    This question evaluates understanding of designing asynchronous, batched request handling in a single-threaded event-loop, covering batching windows, key deduplication, response-to-callback correlation, consistency boundaries, error handling, timeouts/retries, cancellation, and backpressure.

    System DesignTechnical Screen
  • AnrokMediumSoftware Engineer
    Explain concurrency model preference

    This question evaluates a candidate's understanding of concurrency models, practical experience with multithreading and asynchronous/callback-based programming, and the ability to analyze trade-offs for I/O-bound versus CPU-bound workloads.

    Behavioral & LeadershipTechnical Screen