Stripe HackerRank assessment interview

Round 2 of 7 · 9 questions reported

See the whole loop
Format
Leveled HackerRank task; test cases map to the parts in order
They grade
All cases passing, plus readable, well-structured code
Heads-up
Mostly new-grad and intern pipelines.

Questions Stripe asks in this round 9

  • Route requests to the nearest healthy data centerCodingBuild a router that processes commands: register a data center with its latitude, longitude and capacity, mark data centers up or down, report the great-circle distance between…
    Last asked Sep 2026
  • Monthly AI token billing with plan switchingCodingYou are building the monthly invoice step for a chat-based AI product that charges by token usage. Each chat session produces one record, given as a comma-separated string with…
    Last asked Sep 2026
  • Inner join of two CSV datasetsCodingTwo systems export CSV data that you need to combine. Implement: Each dataset is a list of lines. The first line is a header of comma-separated column names. Every other line is a…
    Last asked Apr 2026
  • Render, compress and invert a bitmap fontCodingA bitmap font is given as strings of 0 and 1 bits, one bitmap per character. 1. Render each character as a grid of text, with . for a 0 bit and another character for a 1 bit. 2…
    Last asked Feb 2026
  • Sticky load balancer for long-lived connectionsCodingSimulate a load balancer that routes long-lived WebSocket connections to several Jupyter servers. Process a sequence of requests such as CONNECT, DISCONNECT and SHUTDOWN: place…
    Last asked Feb 2026
  • Card number validation with the Luhn checkCodingImplement a payment-card validator. Check a card number with the Luhn checksum and work out its network from its prefix and length. Later parts recover card numbers with missing…
    Possibly retired
  • Payment command parser and state machineCodingBuild the parser and the object-oriented state machine behind a payment command interface. Every command line has the same fixed number of positions, with empty strings in the…
    Last asked Aug 2026
  • Account balances from a transaction logCodingA payments system receives a log of transactions and must turn it into account statements. Each log entry is a string with four comma-separated fields: - transactionid: a unique…
    Last asked May 2026
  • Searchable transaction list that highlights the largestCodingBuild a small interface in three steps: 1. Render a list of transactions given as {name: string, amount: number}. 2. Highlight the name of the transaction with the largest amount…
    Possibly retired