Implementation Interview Questions
47 interview questions in our bank cover Implementation, most of them Coding Questions. They average 2.5/5 difficulty β easy β and each one was reported by a candidate after a real interview. Companies known to ask about Implementation: Google, OpenAI, Capital One, Amazon, Uber, and 15 more.
Practice these on the problems board βCompanies that ask about Implementation
Question mix
- Coding Questions46
- Mobile Engineering (Android/iOS)1
Difficulty
- 2/5 β easy25
- 3/5 β medium22
Implementation questions at Google
Equal Division of Square Area
2/5Split the area of a square into a given number of equal shares and define the interface that does it, including input and output formats. Asked at Google, the arithmetic is a single division and the real content is the specification around it: validating the divisor, choosing a return type that does not lose precision, and stating the complexity honestly. You will handle a zero or negative count and explain why the geometry imposes no further constraint. Subscribers get the full problem and the model answer.
Coding QuestionsGoogleConvert Snake Case to camelCase
2/5Rewrite an underscore-separated identifier in the capitalised style, leaving the first word alone. This Google warm-up is specified tightly enough that the guards fall away: no leading or trailing separators, and none repeated. You will split once, capitalise each later word, and discuss what you would add if those guarantees were removed. Subscribers can read the complete problem and the reference solution.
Coding QuestionsGoogleMaximum Time
2/5Fill the blanked-out digits of a clock reading so the resulting time is the latest one possible. Asked at Google, this is a greedy question with coupled choices: the first hour digit limits what the second can be, so the two cannot be decided independently. You will enumerate the few hour cases explicitly, maximise the minutes separately, and keep every output within a valid day. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsGoogleTime to Type a String
2/5A coding question about a one-row keyboard where moving the finger between two keys costs their distance. Given the layout and a word, work out the total time to type it, starting from the first key.
Coding QuestionsGoogle
Implementation questions at OpenAI
Cell Simulation / Conwayβs Game of Life
3/5Advance a grid of living and dead cells through several generations under the classic birth-and-death rules, where every cell updates at the same instant. This OpenAI warm-up looks trivial and catches people who mutate the board in place, because a half-updated grid feeds the wrong neighbour counts into the rest of the sweep. You will deal with edge and corner cells, the synchronous update requirement, and whether to buy a second buffer or encode both states in one. Subscribers get the full problem statement and a clean reference solution.
Coding QuestionsOpenAIInsert Interval
3/5Place one new interval into a sorted, non-overlapping list and merge whatever it touches, keeping the result ordered and disjoint. This OpenAI warm-up is short and unforgiving: the three regions before, across, and after the insertion each need their own handling, and an off-by-one at a shared endpoint changes the answer. You will decide whether touching intervals count as overlapping, and keep the pass linear instead of re-sorting. Subscribers get the complete problem and a clean reference solution.
Coding QuestionsOpenAIChatbot Channel: Multi-bot Message Router
3/5Route a time-ordered stream of chat messages to whichever automated assistants a message mentions, and emit their replies in the right order. This OpenAI exercise is deliberately light on algorithms and heavy on specification reading: several assistants can fire from one message, and the ordering of their responses is part of the contract. You will parse mentions reliably, decide what happens when none or all of them match, and keep the output deterministic. Subscribers get the full problem statement and the model solution.
Coding QuestionsOpenAI
Implementation questions at Capital One
Subtract Product and Sum of Digits of a Large Number
2/5Take a number given as a long string of digits and report the difference between the product of its digits and their sum. This Capital One question is intentionally mechanical and checks two things: that you treat the input as text rather than an integer, and that you notice a single zero digit collapses the product. You will iterate once over the characters, keep both accumulators in step, and reason about the size the product can reach. The complete problem and the reference solution require a subscription.
Coding QuestionsCapital OneRotate Matrix Over Diagonals
3/5Apply a diagonal reflection to a square matrix a given number of times and return the result. This Capital One question is mostly about noticing that the operation repeats: reflections compose, so a large number of turns reduces to a small remainder rather than a long loop. You will work out the cycle length, implement one reflection cleanly in place or into a copy, and confirm which cells never move. Subscribers get the complete problem and the reference solution.
Coding QuestionsCapital One
Implementation questions at Amazon
SimpleDataClass with Sum and Average Subfunctions
2/5Package two small numeric helpers, a total and a mean, inside a class that a team could maintain without surprises. This Amazon question is scored on organisation rather than arithmetic: naming, where validation belongs, and what the mean of an empty list should do. You will keep the two helpers independent, agree on the behaviour for degenerate input, and leave the class easy to extend. A subscription unlocks the complete problem and the reference implementation.
Coding QuestionsAmazonDoes One Package Fit Every Product
2/5Decide whether one container exists that can hold every item in a list, where each item and container is described by three side lengths and items may be turned freely. Reported by an Amazon Robotics intern candidate, this question rewards the observation that sorting both triples reduces six orientations to a single comparison. You will reduce the items to one worst-case envelope, compare it against each container, and avoid the volume shortcut that silently accepts impossible fits. The full problem and the verified solution are available to subscribers.
Coding QuestionsAmazon
Implementation questions at Uber
Robot Bounded In Circle
2/5Decide whether a machine following a repeated instruction string stays within some bounded area forever or wanders off indefinitely. This Uber question has a short answer with a real proof behind it: run the instruction set once, and the final heading plus the net displacement determine the outcome for all repetitions. You will track position and facing through one pass, and argue why four repetitions are enough to close any loop. Subscribers get the full problem and the model solution.
Coding QuestionsUberString to Digit Conversion
3/5Turn a number written out in English words into its digits, formatted for display. This Uber question is a parsing exercise with a vocabulary to design: units, teens, tens, and the scale words that multiply what came before them. You will accumulate partial values as the words arrive, apply scale words at the right moment, and decide where thousands separators belong in the output. A subscription unlocks the full problem and the reference solution.
Coding QuestionsUber
Implementation questions at Meta
Calculate Sum and Product
2/5Return both the total and the running product of a list of integers from a single routine. This Meta warm-up is about care rather than cleverness: a zero anywhere collapses the product, negatives flip its sign, and the product grows far faster than the sum as the list gets longer. You will accumulate both in one pass, choose sensible values for an empty list, and comment on the magnitude the product can reach. Subscribers can read the full problem and the reference solution.
Coding QuestionsMetaSmallest number constructed by odd digits
2/5Pull only the odd digits out of a number and rearrange them into the smallest value they can form. This Meta screening question is deliberately easy and still separates candidates on care: the digits must be selected, then ordered, and the input can run to a thousand digits so string handling beats arithmetic. You will decide how to treat repeated digits and why sorting ascending is sufficient here. The complete problem and the reference solution are available to subscribers.
Coding QuestionsMeta
Implementation questions at Brex
Implement Card Purchase With Gem Costs and Hand-Based Color Discounts
3/5Designing game mechanics and resource management systems makes for engaging coding challenges, such as this interview question reported from Brex. You will build a purchasing validation mechanism that evaluates multiple currency types and applies inventory-based discounts using stored assets. This exercise tests your ability to handle complex conditional logic, state modeling, and multi-attribute objects cleanly. Get immediate access to the full problem text and optimal solution by securing a paid subscription.
Coding QuestionsBrexCard Game Gem Affordability and Discount Calculation Functions
3/5This game-logic implementation challenge, featured in Brex interviews, requires you to build core transactional functions for a board game involving resource affordability, inventory updates, and discount computations. You will write robust logic to verify resource limits, modify player holdings safely, and calculate economic benefits based on card properties. The task tests your precision in state management and foundational function design. To view the full problem specification and reference solution, a subscription is required.
Coding QuestionsBrex
Implementation questions at Microsoft
Rotate String (variant with two string arrays)
3/5Decide whether every string in one list can be rotated to match the corresponding string in another. Asked at Microsoft, the clean test is that a rotation of a word appears inside that word doubled, which turns each comparison into one substring search instead of trying every shift. You will check lengths and character counts first as a cheap filter, and keep the total work linear in the combined input size. A subscription unlocks the full problem and the model solution.
Coding QuestionsMicrosoftCleaning Robot
3/5Simulate a cleaner that drives straight until something blocks it, turns in place, and continues, then report how much of the floor it covered. This Microsoft question is a careful simulation: the turning rule, the stopping condition, and the treatment of already-visited squares all have to match the specification exactly. You will track position and heading, detect the state where no further progress is possible, and count visited squares once each. Subscribers get the complete problem and the model solution.
Coding QuestionsMicrosoft
More Implementation questions
Odd One Out
2/5Spot the one word in a list whose letter-to-letter steps through the alphabet do not match the pattern every other word follows. This MathWorks question is a pattern-recognition exercise, and the work is in defining the signature cleanly before comparing anything. You will compute the gap sequence per word, group by signature, and return the single word standing on its own. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsMathWorksFilter Numbers Greater Than the Average
2/5Compute the mean of a list of integers and return only the entries that sit strictly above it, in their original order. This Squarepoint warm-up needs two passes and gets interesting only at the edges: strict comparison excludes anything exactly at the mean, and integer division would quietly change the answer. You will keep the mean exact, preserve input order, and print nothing when no entry qualifies. The complete problem and the reference solution are available to subscribers.
Coding QuestionsSquarepointValid Sudoku
3/5Verify that a partially filled Sudoku grid breaks none of the three uniqueness rules, ignoring the blank cells entirely. This Apple question is a single sweep with three groups of bookkeeping, and the only arithmetic that matters is deriving the box index from the row and column. You will skip blanks rather than treating them as values, remember that a valid board need not be solvable, and keep the sweep to one pass. Subscribers can read the complete problem and the reference solution.
Coding QuestionsAppleIs Possible
2/5Decide whether one pair of numbers can become another when the only move replaces one of them with the sum of both. This Goldman Sachs question is best attacked in reverse: from the target, the larger value has a single possible predecessor, so the backward walk is forced and remainders let you skip many steps at once. You will handle the cases where one coordinate stops changing, and return the required string verdict rather than a boolean. The full problem and the reference solution require a subscription.
Coding QuestionsGoldman SachsDasher Pay
3/5Compute what a courier earns across a shift when promotional windows add extra pay on top of a base rate for part of the time. This DoorDash question is an interval-overlap calculation in minutes, with per-hour rates that have to be converted carefully. You will clip each promotional window to the shift, handle promotions that overlap each other, and keep the arithmetic in whole cents. Subscribers can read the full problem and the model solution.
Coding QuestionsDoorDashGenerate Email
2/5Turn a person's name and a domain into a tidy lowercase email address, coping with spaces and stray symbols in the name. This Roblox warm-up is specification work: which characters survive, what separates the name parts, and what happens when the name reduces to nothing. You will normalise case, collapse the separators consistently, and keep the domain untouched. The complete problem and the reference solution are available with a subscription.
Coding QuestionsRobloxDifference Between Sums of Positions
2/5Total the in-range values sitting at even positions, total the in-range values at odd positions, and report the difference. This Databricks warm-up is a single pass with two accumulators, and the only traps are the inclusive range bounds and the zero-based position convention. You will apply the filter before the position split, keep both totals in step, and handle a list where nothing qualifies. The full problem and the reference solution require a subscription.
Coding QuestionsDatabricksClassify a Digit Array by Consecutive Order
2/5Classify a short array of digits as consecutively rising, consecutively falling, or merely rearrangeable into one of those. This Palo Alto Networks question is a specification exercise where the three categories overlap in ways that have to be resolved in a fixed order. You will test the original order first, then test the sorted form, and decide which label wins when more than one applies. The full problem and the reference solution require a subscription.
Coding QuestionsPalo Alto NetworksSimple TypeScript Program
2/5Map a list of strings to a list holding the length of each one, written in a typed dialect of JavaScript. This Snowflake warm-up takes one line and is still asked, because it shows whether you type the signature properly and whether you reach for a mapping operation rather than an index loop. You will keep the input untouched, type both the parameter and the return value, and handle an empty list. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsSnowflakeAshley Loves Numbers (Financial Engineer)
3/5Count the integers in each of several ranges whose decimal digits are all different from one another. This Bloomberg question invites a brute-force loop and then asks what happens when the ranges get wide, which is where digit-by-digit counting earns its keep. You will test the repeated-digit condition cheaply, answer many queries without redoing shared work, and handle ranges that cross a digit-length boundary. Subscribers get the full problem and the model solution.
Coding QuestionsBloombergSpelling Bee Valid Words Finder
3/5Pick out the words buildable from a small letter palette that also include one mandatory letter and reach a minimum length. This Bloomberg question is a filtering problem where a bitmask over the alphabet makes each word a single comparison instead of a character loop. You will encode each word as a mask, test containment and the mandatory letter together, and allow letters to repeat freely. The complete problem and the reference solution are available to subscribers.
Coding QuestionsBloombergFind First Unique Number in an Array
2/5Return the earliest value in an array that appears exactly once, or a sentinel when every value repeats. This Apple warm-up needs two passes and is asked to see whether you count first and then scan, rather than testing each element against the rest. You will keep the counting pass independent of the order pass, preserve the original positions, and handle an array where nothing is unique. Subscribers get the complete problem and the reference solution.
Coding QuestionsAppleParse String to Integer Without Built-ins
3/5Convert text into a signed 32-bit integer by hand, rejecting anything that does not conform and refusing to use the language's own conversion helpers. This Netflix question is a specification-reading exercise: the sign rules, the treatment of surrounding characters, and the overflow boundary are all stated precisely and all easy to get subtly wrong. You will detect overflow before it happens rather than after, and raise an error instead of guessing on malformed input. The full problem and the reference parser require a subscription.
Coding QuestionsNetflixDetermine Employees to Promote
3/5Total each employee's contributions across projects, rank them, and select the top slice indicated by a promotion ratio. This Snowflake question is aggregation followed by sorting, with the ratio turning into a count that has to be rounded one way or the other. You will decide how the ratio maps to a headcount, settle ties in the ranking, and produce both the full ordering and the selected group. The complete problem and the reference solution are available to subscribers.
Coding QuestionsSnowflakeOne-edit string transform with operation output (add/move/replace/delete)
3/5Asked during interviews at Jerry, this string manipulation puzzle challenges you to figure out if one piece of text can be converted into another using exactly one modification, insertion, deletion, or relocation maneuver. The task tests your attention to detail and ability to systematically check multiple character transformation rules. Unlock the full problem definition and reference solution with a paid subscription.
Coding QuestionsJerryCompute Euclidean Distance Between Two 3D Points
2/5This Dandy interview problem evaluates fundamental computational geometry skills by asking you to determine the spatial distance separating two coordinate locations in a three-dimensional environment. The exercise focuses on precision handling and implementing standard mathematical formulas efficiently in code. Access the full problem statement, test cases, and model solution by upgrading your account.
Coding QuestionsDandyDetermine large rice bags
3/5Pick a set of bags whose combined capacity clears a target and report both the chosen bags and the total. This xAI question is open enough that the objective matters: nothing says the set must be smallest, so you should state the rule you are optimising before coding it. You will sort by capacity, take greedily until the target is cleared, and explain why that is the fewest bags when any selection is allowed. Subscribers get the complete problem and the reference solution.
Coding QuestionsxAIRoller Coaster Performance Calculation
2/5Explore this Zoox reported interview question focusing on computational modeling, where you will write a program to evaluate the safety and excitement metrics of an amusement park ride. The challenge tests your ability to apply mathematical formulas involving velocity and vibrational frequency to compute specific performance indicators. You will practice handling numerical constraints and formatting floating-point outputs cleanly. Unlocking the full problem description and expert model solution requires an active subscription.
Coding QuestionsZooxImplement Two Methods in an Android Stock Trading System Skeleton
3/5Tackling this mobile engineering exercise from Robinhood requires you to complete a stock trading application skeleton written in Java and Kotlin. You will need to implement specific core methods that manage order lifecycle states, account balances, and position updates without breaking any existing public interfaces. This assessment gauges your command of object-oriented design principles and domain-driven development within an Android ecosystem. Access the comprehensive requirements, system architectural overview, and verified model solution by upgrading to a paid subscription.
Mobile Engineering (Android/iOS)RobinhoodCalculate Pressure from Speed
2/5Practice this straightforward lookup puzzle encountered in technical rounds at SpaceX. The goal is to map an arbitrary numeric input to a corresponding discrete category value based on predefined, bounded numerical ranges. This exercise assesses your ability to perform efficient range calculations, handle boundary conditions, and structure clean conditional logic. It serves as a great warm-up for evaluating mathematical mappings in embedded or systems programming. The complete problem statement and model solution require a subscription.
Coding QuestionsSpaceXRun-Length Encoding (RLE) Encode/Decode with Max Run Length K; Minimize Encoding Length
3/5A Liftoff coding question on a run-length encoding variant where each run count has an upper limit and the encoded output must be as short as possible. It tests string parsing and recognising when a greedy choice fails and dynamic programming is needed.
Coding QuestionsLiftoffMax Neighbouring Even Pairs
2/5In this DRW interview puzzle, you are tasked with finding the maximum count of adjacent element groupings with even sums arranged in a circular structure, ensuring no element is shared between pairs. This problem tests your combinatorial reasoning and optimization skills when dealing with circular arrays and parity constraints. Unlock full access to examine the complete problem statement and discover the optimal model solution.
Coding QuestionsDRWFIFO Queue from Two Stacks
2/5A coding question on building a first-in, first-out queue out of two last-in, first-out stacks, with push, pop and an error on an empty queue.
Coding QuestionsGoldman SachsLongest-Match Tokenization with UNK and Optional UNK-Run Compression
3/5Tokenise text against a fixed vocabulary by always taking the longest match available at the current position, falling back to an unknown token one character at a time. This Anthropic question then adds a rule that collapses consecutive unknown tokens, which quietly changes what the greedy scan has to remember. You will bound the match length by the vocabulary, keep the scan linear in practice, and handle the boundary where a fallback meets a real token. A subscription unlocks the full problem and the verified solution.
Coding QuestionsAnthropicPassword Compliance
3/5This Karat interview question evaluates your ability to implement a robust credential validation utility. You will need to write a program that checks a text string against multiple security criteria, including length constraints, forbidden substrings, character casing requirements, mandatory symbol inclusion, and limits on consecutive duplicate characters. The exercise tests your string manipulation skills and logical conditional checks in a practical setting. Unlock the full problem and model solution with a subscription.
Coding QuestionsKaratCompress and Decompress String (Excel-like Encoding)
3/5Explore a stimulating string transformation exercise often encountered in technical interviews at NVIDIA, focusing on custom encoding formats. Developers are tasked with building bidirectional routines that compress and decompress alphabetic character runs using a unique numerical representation akin to spreadsheet column naming conventions. This scenario tests string parsing, mathematical mapping, and edge-case management for repeating character sequences. Reviewing the complete challenge guidelines and professional solution code requires a subscription.
Coding QuestionsNVIDIAPrint File System Blocks
2/5This Anchorage Digital coding exercise evaluates string formatting and data serialization by asking you to render a simplified block-based storage medium. Developers must process an array representing occupied and vacant memory segments and output a cleanly structured, visually connected textual representation of the entire system state. It serves as a great introductory warm-up for structural formatting tasks. To read the complete problem description and study the verified model solution, a paid subscription is required.
Coding QuestionsAnchorage DigitalFind the Second Smallest Element in Array
2/5A coding question on returning the smallest value in an integer array that is strictly greater than its minimum, with a defined result when every element is equal.
Coding QuestionsMeituan
Studied alongside
Implementation interview FAQ
- How many Implementation interview questions are there?
- 47 reported questions, mostly Coding Questions.
- Which companies ask Implementation questions?
- Google (4), OpenAI (3), Capital One (2), Amazon (2), Uber (2), Meta (2), Brex (2), Microsoft (2).
- How hard are Implementation questions?
- They average 2.5 out of 5: 25 at 2/5, 22 at 3/5.