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 2461–2490 of 2810 results
- StripeMediumSoftware EngineerHow 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 EngineerHow 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 EngineerHunt 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 EngineerImplement 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 EngineerImplement 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 EngineerImplement 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 - StripeMediumSoftware EngineerInternship 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 EngineerMatch 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 EngineerMatch 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 EngineerMinimize 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 - StripeMediumSoftware EngineerParse Parent-Child Task Records and Render Them as a Connector Tree
A multi-part coding exercise that parses root and child task records, linked by parent identifiers, into a parent-child map and renders the hierarchy as a text tree with branch connectors for middle and last children. It tests careful reading of a long specification, robust tree building and exact output formatting.
Software Engineering FundamentalsTechnical Screen - StripeMediumSoftware EngineerParse and Format Arbitrarily Nested Tasks from CSV
Tests parsing RFC 4180-compliant CSV records containing hierarchical tasks and rendering an arbitrarily nested forest with proper tree line prefixes (`├── `, `└── `, and `│ `).
Coding & AlgorithmsTechnical Screentreerecursionstring-parsing - StripeMediumSoftware EngineerPlan bicycle routes on a city map
This question evaluates graph algorithms and pathfinding competencies, multi-criteria optimization and weighting, data structure selection, heuristic design, handling dynamic updates and closures, and correctness and edge-case reasoning for route planning.
Coding & AlgorithmsTechnical Screen - StripeMediumSoftware EngineerProcess Transactions and Compute Balances
This problem tests your ability to manage stateful account data, handle time-ordered transaction processing, and implement basic validation logic for financial integrity.
Coding & AlgorithmsTechnical ScreenSortingHash MapSimulation - StripeMediumSoftware EngineerProcess auth requests with fraud rules
This question evaluates a candidate's ability to implement stateful stream processing and event handling, including applying time-scoped fraud rules to authorization requests, maintaining chronological ordering, and producing verified outputs via unit tests.
Coding & AlgorithmsTechnical Screen - StripeMediumSoftware EngineerPropagate runtime ID across API requests
Implement a request interpolator that traverses nested request payloads and URLs to replace placeholder variables with runtime IDs while preserving native data types.
Coding & AlgorithmsTechnical ScreenRecursionString ParsingJSON - StripeMediumSoftware EngineerRebuild a Comment Thread From Flat Records and Draw It
Turn unordered reply records into a tree, then print it as an ASCII tree with exact branch connectors, and optionally collapse deep branches. Tests careful spec reading, tree building that doesn't depend on input order, and precise output formatting.
Software Engineering FundamentalsTechnical Screentreesparsingstring-formatting - StripeMediumSoftware EngineerReconcile Monthly Bank-Account Balances Across Two Datasets
Implement a reconciliation function that joins internal ledger balances with external bank statements for a target month, categorizing discrepancies while strictly distinguishing between missing records and zero balances.
Data Manipulation (SQL/Python)Technical ScreenData ManipulationHash TableAccounting - StripeMediumSoftware EngineerReconstruct a Pallet Repacking Lineage and Render It as a Branch Tree
Rebuild which warehouse pallets were repacked from which other pallets out of an unordered event log, then print the lineage as an indented tree with branch connectors. Tests careful spec-reading, tree construction independent of input order, and exact output formatting.
Software Engineering FundamentalsTechnical Screentreesgraphsparsing - StripeMediumSoftware EngineerRepair a Validator Whose Error Lists Leak None and Nest
Given a small schema-validation library and a failing golden-file diff, trace stray None values, nested error lists, and an inconsistent null-versus-[] result back to their source and fix each with a regression test. Tests root-cause debugging, return-type contracts, and safe flattening.
Software Engineering FundamentalsTechnical Screendebuggingrecursionpython - StripeMediumSoftware EngineerResolve user roles across account hierarchy
This problem tests your ability to navigate hierarchical structures (a tree of accounts) and perform efficient permission aggregation using set operations.
Coding & AlgorithmsTechnical ScreenGraphHash MapHierarchy - StripeMediumSoftware EngineerRestaurant Listing CSV Linter: Required, Length, Banned Terms, Overlap
Write a configurable linter for restaurant-listing CSV rows that reports missing fields, length violations, whole-word banned terms, and too-low or too-high word overlap between fields after normalization. Tests robust CSV parsing, text normalization, rule-driven design and edge-case thinking.
Software Engineering FundamentalsTechnical Screencsvstring-processingvalidation - StripeMediumSoftware EngineerSchedule Welcome and Expiration Emails from Subscription Records
A programming exercise that turns customers' subscription records into a chronological schedule of lifecycle emails, such as a welcome email at the start and an expiration email at the end. It tests date arithmetic, deterministic ordering of same-day emails, and a rule design that makes new email types easy to add.
Software Engineering FundamentalsTechnical Screen - StripeHardSoftware EngineerSplit-Tender Payment Events with Gift Card Expiry, ZIP Surcharges and Refunds
Implement a payment event processor for split-tender retail purchases, where each charge spends a customer's gift cards before billing the rest to a credit card. It tests precise simulation: earliest-expiry card priority with lexicographic tie-breaks, ZIP-range surcharges on the credit card portion, refunds split between card and store credit, and exact output formatting.
Coding & AlgorithmsTechnical Screen - StripeHardSoftware EngineerTheme-Park Wristband Payments: Expiring Credits, Zone Fees, Refunds
Process a chronological log of theme-park wristband events that spend expiring ride credits before a linked card, apply per-zone card surcharges, and split refunds between the card and new store credit.
Coding & AlgorithmsTechnical Screensimulationevent-processinggreedy - StripeHardSoftware EngineerTransit Wallet Ledger: Expiring Vouchers, Zone Fees and Refunds
Process a stream of wallet events where purchases spend expiring vouchers in priority order before charging a card with zone-based fees, and refunds split between card and new store credit. Tests careful rule-by-rule simulation and integer money math.
Coding & AlgorithmsTechnical Screensimulationparsingsorting - StripeMediumSoftware EngineerValidate CSV Company Records for Missing Fields, Length, Forbidden Words and Overlap
Build a validator for a CSV of company records that flags missing fields, values outside length limits and forbidden words, then measures word overlap between fields while ignoring case, spacing and words such as LLC. It tests robust CSV parsing, text normalization, rule-driven design and edge-case testing.
Software Engineering FundamentalsTechnical Screen - StripeMediumSoftware EngineerValidate KYC CSV Records
Implement a KYC CSV record validator that parses customer records, normalizes fields, and validates tax IDs and owner name matches.
Coding & AlgorithmsTechnical ScreenStringsData ParsingRule Validation - StripeMediumSoftware EngineerValidate transactions with risk rules and reporting
Implement an end-to-end transaction validation pipeline that parses raw CSV records, evaluates behavioral fraud detection rules, and outputs a formatted fixed-width audit report.
Coding & AlgorithmsTechnical Screenstringsdata-parsingsliding-window - StripeMediumSoftware EngineerVerify business accounts with progressive KYC rules
Implement a multi-tier KYC verification function that validates business identity inputs against format requirements and an official registry using token-based normalization.
Coding & AlgorithmsTechnical ScreenStringsData ValidationParsing