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 5191–5220 of 5874 results

  • StripeMediumSoftware Engineer
    Find linked merchants by shared fields

    This question tests the ability to model entity relationships using a graph representation and implement a traversal algorithm to identify connected components based on shared identity fields.

    Coding & AlgorithmsTechnical ScreenGraphsHash MapsDisjoint Set Union
  • StripeMediumSoftware Engineer
    Find linked user records by similarity

    This question evaluates the ability to compute weighted field-based similarity and reason about adjacency relationships in an undirected graph, testing competencies in similarity scoring, record linkage, and basic graph traversal.

    Coding & AlgorithmsTechnical Screen
  • StripeMediumSoftware Engineer
    Find linked user records by weighted similarity

    This problem tests your ability to model relationships as a graph and compute connected components based on weighted similarity scores between user records.

    Coding & AlgorithmsTechnical ScreenGraphDSUOptimization
  • StripeMediumSoftware Engineer
    First-Match Login Policy Engine with a Boolean Expression DSL

    Implement an ordered allow/deny policy evaluator for sign-in attempts whose conditions grow from symmetric string equality to boolean flags, and/or precedence, parentheses, not and !=. Tests tokenizing quoted literals, recursive-descent parsing, first-match semantics, and missing-field handling.

    Software Engineering FundamentalsOnsiteparsingrecursive-descenttokenizer
  • StripeMediumSoftware Engineer
    Fix Seekable POST Body Replay After a 307 Redirect in Python requests

    A debugging exercise in the Python requests library: POST requests whose body is a seekable stream time out after an HTTP 307 redirect, while a plain string body works. It tests tracing how request state changes between the first send and the redirect, and fixing the library so that streams the caller has already partly read are resent correctly.

    Software Engineering FundamentalsOnsite
  • StripeHardSoftware Engineer
    Fix Three Mako Template Bugs: AST Arg Visitor, Directory Lookup, Comment-Only Blocks

    A debugging exercise on Mako, the open-source Python template library, with three injected defects: an AST visitor missing its visit_arg method, a template lookup that fails on a directory path, and comment-only control blocks that do not compile. It tests NodeVisitor dispatch, reading generated code, minimal fixes and regression tests.

    Software Engineering FundamentalsTechnical Screen
  • StripeMediumSoftware Engineer
    Fix Three Planted Bugs in a Tiny Python Template Engine

    Trace three reported failures in a small template engine to their root causes (a greedy regex, a nesting-unaware block parser and a path-traversal hole), fix each minimally and add regression tests. Tests systematic debugging across tokenizer, parser and loader layers.

    Software Engineering FundamentalsTechnical Screendebuggingregexparsing
  • StripeMediumSoftware Engineer
    Fix an HTTP Client That Loses a Stream Body on Redirect Replay

    Debug a small HTTP client library where POST requests with a plain string body replay correctly after a redirect, but requests with a file-like stream body hang, and fix the library so a redirect resends the exact original bytes, including bytes from a stream the caller had already partly consumed.

    Software Engineering FundamentalsOnsitedebugginghttpstreams
  • StripeHardSoftware Engineer
    Generate Available 30-Minute Time Slots

    This problem tests your ability to manipulate time intervals, handle recurring weekly schedules, and perform intersection logic between availability windows and existing booked appointments.

    Coding & AlgorithmsTechnical ScreenIntervalsDatetimeScheduling
  • StripeMediumSoftware Engineer
    Generate a ride map image via POST API

    Implement a payload builder for an external static map generation API that processes raw ride GPS telemetry, downsamples points, generates bounding viewports, and formats marker overlays.

    Software Engineering FundamentalsOnsitegeospatialapi-designalgorithms
  • StripeMediumSoftware Engineer
    Ground Station Registry With Great-Circle Nearest-Online Routing

    Build an in-memory registry of satellite ground stations with status tracking, implement the haversine great-circle distance formula, then route an uplink request to the nearest online station. Tests clean API design, careful spherical math, and corner-case handling under time pressure.

    Software Engineering FundamentalsTechnical Screenclass-designgeometryhaversine
  • StripeMediumSoftware Engineer
    How to find the cheapest flight within K stops

    This problem tests your ability to find the shortest path in a weighted graph under a specific constraint on the number of edges (stops).

    Coding & AlgorithmsTechnical ScreenGraphDynamic ProgrammingShortest Path
  • StripeMediumSoftware Engineer
    How to settle multi-person debts in minimum transactions

    Tests algorithm design and combinatorial search to settle multi-party debts with the minimum number of transfer transactions.

    Coding & AlgorithmsTechnical ScreenBacktrackingDynamic ProgrammingBitmask
  • StripeMediumSoftware Engineer
    Hunt Three Planted Bugs in a Small Template Compiler Called Wick

    Trace three reported failures in a small Python template compiler — a dropped ternary else-branch, a directory mistaken for a template file, and a comment-only loop body that compiles to invalid source — to their root causes and fix each with a regression test.

    Software Engineering FundamentalsTechnical Screendebuggingcompilersast
  • StripeMediumSoftware Engineer
    Implement Billing Coding Exercises

    Implement a subscription proration and billing reconciliation engine that generates line items across plan changes and computes the outstanding balance against posted payments.

    Coding & AlgorithmsOnsitealgorithmsbillingreconciliation
  • StripeMediumSoftware Engineer
    Implement JSON parsing and HTTP integration tasks

    Tests practical software engineering skills in parsing JSON data, constructing batch HTTP requests, mapping returned attributes (such as color codes to coordinate points), and handling API errors.

    Coding & AlgorithmsTechnical ScreenAPI DesignJSONHTTP Client
  • StripeHardSoftware Engineer
    Implement Validation and String Compression

    This problem tests your ability to design a custom parser and recursive string processor that handles nested patterns while enforcing strict input validation.

    Coding & AlgorithmsOnsiteStringsStackRecursion
  • StripeHardSoftware Engineer
    Implement a Contribution Ledger With Per-Rail Settlement Delays

    Implement process_ledger(commands), an ordered ledger for a community funding platform where contributions arrive over different payment rails, each with its own settlement delay, cutoff time, and per-window contribution limit.

    Software Engineering FundamentalsTechnical Screenledgersimulationfintech
  • StripeMediumSoftware Engineer
    Implement a Datacenter Request Router

    This problem tests the ability to manage stateful datacenter metadata and implement a routing algorithm that prioritizes proximity (Haversine distance) while respecting capacity constraints.

    Coding & AlgorithmsOnline AssessmentGeometryHash MapSorting
  • StripeMediumSoftware Engineer
    Implement a multi-step form in React

    This question evaluates a candidate's competence in React front-end development, including component state management, multi-step form validation, UI state control during asynchronous submissions, and error handling.

    Software Engineering FundamentalsOnsite
  • StripeMediumSoftware Engineer
    Implement bitmap font render/compress/invert

    This problem tests your ability to manipulate 2D bit arrays, implement Run-Length Encoding (RLE) for data compression, and perform grid-based coordinate transformations.

    Coding & AlgorithmsOnline AssessmentArraysStringsCompression
  • StripeMediumSoftware Engineer
    Implement multi-network card validator with Luhn

    This question evaluates a candidate's ability to implement and reason about the Luhn checksum, multi-network payment card format validation, combinatorial completion for redacted digits, single-error correction models, and efficient search/pruning with deterministic duplicate avoidance.

    Coding & AlgorithmsOnline Assessment
  • StripeMediumSoftware Engineer
    Implement multi-part cost calculator

    This question evaluates a candidate's ability to implement robust data-processing and numeric computation logic for a multi-part cost calculator, covering input validation, per-item discounts and tax, sorting semantics, multi-currency conversion, and precise monetary rounding.

    Coding & AlgorithmsTechnical Screen
  • StripeEasySoftware Engineer
    Implement stateful connection router simulator

    This question evaluates design and implementation skills for a stateful connection router, focusing on round-robin load distribution, connection lifecycle handling (duplicate connects, disconnects, shutdowns), and per-target capacity and mapping management.

    Coding & AlgorithmsOnline Assessment
  • StripeHardSoftware Engineer
    Improving a Product After Shipping Its MVP: Deciding What to Iterate On

    Behavioral question about a time you shipped a minimum viable product at work and then had to keep improving it. Tests how you scope an MVP, use post-launch signals to prioritize iterations, manage deliberate shortcuts and technical debt, and measure outcomes against goals.

    Behavioral & LeadershipOnsite
  • StripeMediumSoftware Engineer
    Internship Hiring-Manager Behavioral: Project Roles, Deadlines, Mistakes, Motivation

    Hiring-manager behavioral questions for a software engineering internship: a project deep dive with team roles, a time your voice was not heard, how you set deadlines, learning from a mistake, a problem you could not solve alone, a quick decision, and career values with motivation for the company.

    Behavioral & LeadershipTechnical Screen
  • StripeMediumSoftware Engineer
    Match Payments to Invoices by ID, Exact Amount, then a Forgiveness Range

    A three-part billing reconciliation exercise: match payments to invoices by invoice ID, fall back to the earliest-dated invoice with the same amount when a payment has no ID, then allow a forgiveness range around the payment amount. It tests incremental design, unmatched-payment handling, and efficient lookups by key and by range.

    Software Engineering FundamentalsTechnical Screen
  • StripeMediumSoftware Engineer
    Match Payments to Invoices by Memo ID, Exact Amount, then Amount Tolerance

    A multi-part coding exercise that matches a payment to an invoice: first by an invoice ID found in the payment memo, then by exact amount with the earliest due date breaking ties, then within an amount tolerance. It tests parsing, deterministic tie-breaking, rule precedence, and keeping earlier test cases passing as requirements grow.

    Software Engineering FundamentalsOnsite
  • StripeMediumSoftware Engineer
    Match payments to invoices with fallback rules

    This problem tests the ability to implement a multi-pass matching algorithm that prioritizes exact identifier matches before applying fuzzy numeric heuristics.

    Coding & AlgorithmsTechnical ScreenHashMapsAlgorithmsData Structures
  • StripeMediumSoftware Engineer
    Minimize total factory cost with distance penalties

    This problem tests your ability to use dynamic programming to minimize a total cost function that incorporates both intrinsic production costs and location-based transition penalties.

    Coding & AlgorithmsTechnical ScreenDynamic ProgrammingOptimizationAlgorithms