10 validation interview questions, asked at Stripe, Applied Intuition, Cohere and 5 more companies. Last asked Oct 2026.
Merchant onboarding CSV validatorCodingMerchants submit their business details as rows of a simple CSV. Before a merchant can accept payments, every row must pass a set of checks. Write validaterecords(data…
Last asked Oct 2026
Credit card form with validation and linked fieldsCodingBuild a card-details form in the browser (React is fine): cardholder name, card number, expiry date and security code. Validate each field as the user types and on submit, and…
Last asked Sep 2026
CSV upload endpoint that classifies rows with an LLMCodingA practical round: build a service endpoint that takes an uploaded CSV, sends each row to a language model to classify it, and returns the results as JSON. Write the prompt and…
Last asked Jul 2026
Validate a parsed config against field descriptorsCodingGiven a parsed YAML or JSON document and a set of message descriptors that list each field's type and whether it is required or repeated, report every invalid field with the…
Last asked Apr 2026
Post ingestion and LLM scoring pipeline take-homeCodingOver a few hours, build a small pipeline that loads a public dataset of social posts, validates each record against a schema, stores them locally, and runs a worker that sends…
Last asked Jan 2026
Validate an IPv4 addressCodingGiven a string, decide whether it is a valid IPv4 address: four decimal numbers from 0 to 255 separated by dots, with no leading zeros and nothing else in the string.
Last asked Jan 2026
Validate a JSON-like stringCodingWrite a validator that decides whether a string is well-formed JSON-like text: balanced braces and brackets, quoted keys, commas and colons in the right places, valid values…
Last asked Jan 2026
Validate a tic-tac-toe board stateCodingGiven a tic-tac-toe board in the middle or at the end of a game, decide whether it could have been reached by legal play: X moves first, players alternate, and nobody moves after…
Last asked Dec 2025
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…
Last asked Sep 2025
Passport number form with per-country formatsCodingYou get a map from country to passport number format, for example {USA: "LLDDDD", Canada: "AALLDDDD"}, where L must be a letter, D a digit and A either one. 1. Build the layout: a…