Interview questions
Find a company or topic. Read the sources, then practice.
Loading the question library…
Find a company or topic. Read the sources, then practice.
Loading the question library…
Showing 1–10
Decode a string containing nested repeat patterns of the form k[encoded_string], expanding each bracketed segment k times (k may be multi-digit) possibly with multiple nesting…
Companies: Bloomberg, Coupang, Google, Microsoft +4
Recursion · Stack · String
Last reported Aug 2026
Given the head of a linked list and an integer k, reverse the nodes of the list k at a time and return the modified…
Companies: Adobe, Microsoft, TikTok
Linked List · Recursion
Last reported May 2026
Linked List · Recursion · Stack · Two Pointers
Last reported May 2026
Evaluate a string arithmetic expression containing integers, +, -, *, /, parentheses and unary signs, respecting operator precedence and parentheses. The challenge is to parse…
Companies: Google, Intuit, Meta
Math · Recursion · Stack · String
Last reported May 2026
Convert a non-negative integer to its English words representation. The core challenge is chunking the number into three-digit groups (ones, thousands, millions, billions)…
Companies: Amazon, Microsoft
Math · Recursion · String
Last reported Mar 2026
Companies: Adobe, Google, LinkedIn, Meta +2
Linked List · Recursion
Last reported Feb 2026
Companies: Amazon, Bloomberg, Google, Meta +2
Linked List · Math · Recursion
Last reported Oct 2025
Given n people seated in a circle, repeatedly remove every k-th person clockwise until one remains and return their label — the classic Josephus problem…
Companies: Goldman Sachs
Array · Math · Queue · Recursion
Given a binary sequence that evolves each row by replacing 0→01 and 1→10 (so row lengths double each time), return the k-th symbol in the…
Companies: D. E. Shaw
Bit Manipulation · Math · Recursion