code-reading Interview Questions
24 interview questions in our bank cover code-reading, most of them Coding & Leetcode-style Questions. They average 3.2/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about code-reading: Stripe, Affirm, JPMorgan, Salesforce, OpenAI, and 11 more.
Practice these on the problems board →Companies that ask about code-reading
Question mix
- Coding & Leetcode-style Questions24
Difficulty
- 2/5 — easy2
- 3/5 — medium16
- 4/5 — hard6
Questions tagged code-reading
Code Reading — 400-line PyTorch Refactor
3/5This code reading evaluation from OpenAI requires candidates to analyze, refactor, and extend a substantial PyTorch codebase centered around noisy classifier architectures. Instead of building from scratch, engineers must quickly orient themselves within an unfamiliar project, evaluate time and space complexities of tensor operations, and implement structural enhancements. Success demonstrates strong codebase navigation and advanced deep learning framework proficiency. Explore the complete codebase analysis and model refactoring steps with a paid subscription.
Coding & Leetcode-style QuestionsOpenAIColander Validation Debugging Round
4/5Navigate a live codebase debugging challenge centered around data validation logic, reflecting real-world engineering problem-solving at Stripe. You will investigate a serialization library where nested rules or custom validators fail to process edge-case payloads correctly. The goal is to rapidly reproduce the failure, isolate the root cause, and implement a precise, minimal patch under strict time constraints. Unlock the full diagnostic walkthrough and correct implementation details with a paid subscription.
Coding & Leetcode-style QuestionsStripeLoan Aggregation & Transaction Matching (Parent-Company Resolution)
3/5This multi-part technical assessment from Affirm challenges developers to traverse hierarchical entity relationships, consolidate financial metrics upward, and correlate incoming ledger entries with their appropriate targets. The exercise emphasizes reading comprehension, data structure manipulation, and writing clean, maintainable code amidst extensive boilerplate text. It evaluates your practical ability to handle complex relational mappings efficiently under time constraints. The complete problem specifications and clean solution code are available exclusively to paid subscribers.
Coding & Leetcode-style QuestionsAffirmFraud Detection: Debug + Event Matching
3/5Prepare for your upcoming Affirm interview with this practical coding challenge focused on fraud detection and event management. Candidates are tested on their ability to troubleshoot existing codebases and efficiently categorize transaction records based on predefined security rules and event types. This task evaluates your fluency with data structures like hash maps and your proficiency in writing clean, reliable payment processing logic under time constraints. Unlock the complete problem statement, underlying architectural patterns, and expert model solution by securing a paid subscription.
Coding & Leetcode-style QuestionsAffirmCustomer Request PR Review
3/5Reported during JPMorgan software engineering interviews, this exercise evaluates code review capabilities by presenting a flawed service class or pull request filled with architectural and concurrency pitfalls. Candidates must identify maintainability violations, global state hazards, and thread-safety concerns before implementing a clean auxiliary algorithm. This task emphasizes professional software engineering best practices beyond basic syntax correctness. Unlock the complete code review checklist, review notes, and model solution by securing a subscription.
Coding & Leetcode-style QuestionsJPMorganCode Reading — CLI Tool Feature Audit
3/5Stepping away from traditional algorithmic puzzles, this code-reading exercise requires you to audit an existing command-line utility codebase against a formal product requirements specification to identify gaps and architectural flaws. Documented as an onsite Oracle interview scenario, it highlights code comprehension, software engineering best practices, and refactoring techniques. Reviewing the complete prompt documents and expert feedback requires an active subscription.
Coding & Leetcode-style QuestionsOracleDebug a Dasher-Picker Load Balancer, Then Add Consistent Hashing
4/5Sourced from DoorDash engineering interviews, this task requires you to first diagnose and correct subtle defects in an existing load balancing implementation, and subsequently upgrade it to support consistent hashing. It assesses your proficiency in legacy code debugging, object-oriented design, and distributed routing principles. To view the complete codebase, detailed bug explanations, and the full reference solution, a subscription is needed.
Coding & Leetcode-style QuestionsDoorDashRefactor Obfuscated Code (Hidden Best-Time-To-Buy-Sell)
2/5Reported as a Citadel assessment challenge, this problem presents a heavily obfuscated C++ function filled with misleading variable names, bit manipulation tricks, and irrelevant loops designed to throw you off. Your objective is to strip away the deliberate confusion, recognize the fundamental financial tracking pattern hidden underneath, and rewrite the logic cleanly. It tests your capability to reverse-engineer messy code and identify classic single-pass maximization algorithms under pressure. Unlock the full problem description and comprehensive model solution with a subscription.
Coding & Leetcode-style QuestionsCitadelAI-Assisted Coding / Debug Round
3/5Experience a modern diagnostic and development round featuring an AI coding assistant, as recently reported in interviews at Uber. You are given a small full-stack application containing a subtle bug in a transaction flow, requiring you to isolate the failure, interpret stack traces, and prompt an AI collaborator effectively to fix it. This scenario evaluates real-world debugging workflows, integration testing, and collaborative problem-solving using AI tools. The complete problem statement and model solution require a subscription.
Coding & Leetcode-style QuestionsUberAI Enhanced Pilot - Domain (AI-Assisted Coding Round)
3/5Representing a modern onsite evaluation format at Coinbase, this collaborative coding round assesses how effectively you partner with an integrated AI assistant to resolve software defects, implement ambiguous features, review pull requests, and debug production logs. Rather than testing raw syntax generation alone, interviewers evaluate your prompt engineering, validation methodology, and critical oversight when integrating machine-generated code into a structured repository. Discover the comprehensive problem scenario, evaluation rubrics, and expert strategies to ace this round with a subscription.
Coding & Leetcode-style QuestionsCoinbaseC++ Virtual / Destructor / Pointer Review
3/5Test your mastery of advanced C++ language semantics through a code-evaluation exercise frequently reported in JPMorgan quantitative finance interviews. This assessment probes your understanding of object lifecycles, dynamic method dispatch, memory ownership, and the crucial distinctions between references and pointers. You will need to spot subtle pitfalls like dangling references and predict exact execution outcomes. Unlocking the complete problem explanation and verified model solution requires a subscription.
Coding & Leetcode-style QuestionsJPMorganOptiCargo — Cargo-to-Flight Scheduling
4/5Encountered during rigorous hiring loops at Optiver, this complex logistics and scheduling challenge tests your capability to parse extensive pre-written codebases and implement sophisticated resource allocation strategies. You must build an engine that assigns cargo loads to flights while strictly adhering to strict departure schedules, plane capacities, and divisibility rules. The evaluation measures your code comprehension, greedy algorithmic thinking, and ability to optimize large-scale simulation models under time pressure. The complete problem statement and polished codebase solution are available exclusively to subscribers.
Coding & Leetcode-style QuestionsOptiverMoshi JSON Debugging Round
4/5Debugging complex third-party serialization libraries under strict time constraints is a rigorous format often utilized in backend engineering loops at financial technology leaders like Stripe. This scenario plunges candidates into troubleshooting unexpected runtime exceptions or malformed output caused by custom adapters or type mismatches within a popular JSON framework. Success relies on methodical stack trace analysis, test case isolation, and implementing a precise, minimal patch. Unlock full access to detailed debugging guides, root-cause breakdowns, and verified solutions by subscribing today.
Coding & Leetcode-style QuestionsStripeSnakeYAML Debugging Round
4/5Experience a realistic live troubleshooting session modeled after technical evaluations at Stripe, focusing on a popular Java parsing library. You will investigate unexpected data type conversions and exception triggers stemming from implicit boolean resolution rules in configuration files. The exercise tests your ability to trace failure stacks, isolate hidden bugs, and patch regressions cleanly. Unlock your subscription to review the full bug reproduction steps and the verified patch.
Coding & Leetcode-style QuestionsStripeMako Template Engine Debugging Round
4/5This Stripe live debugging round drops you into the actual open-source Mako Python templating codebase to diagnose and resolve subtle defects under a strict time limit. Rather than testing raw algorithm creation, it evaluates your systematic troubleshooting methodology, stack trace interpretation, and ability to land safe, isolated code corrections. Access to the complete debugging environment setup, scenario briefs, and expert resolution strategies requires a subscription.
Coding & Leetcode-style QuestionsStripeCode Review OA — Python Files (Salesforce / Slack)
3/5This Salesforce and Slack joint assessment tests your code comprehension and software evaluation abilities in a realistic take-home format. You will inspect a small codebase containing Python scripts and database interactions to uncover hidden defects, architectural flaws, and maintainability concerns. The task measures your attention to detail and ability to communicate professional engineering feedback effectively. Gain full access to the source repository overview and the complete grading rubric by purchasing a subscription.
Coding & Leetcode-style QuestionsSalesforceDebugging: CSV Parser Quote Handling
3/5Encountered in Stripe engineering loops, this debugging exercise plunges you into a flawed comma-separated values parser where complex text enclosures and escaped markers cause data corruption. It evaluates your debugging prowess, state-machine comprehension, and ability to isolate edge cases in legacy string-processing logic without breaking standard formatting rules. This task mirrors real-world production incident response and code maintenance. Unlock the complete walkthrough and clean patch solution by securing a subscription.
Coding & Leetcode-style QuestionsStripeCode Reading: Data Pipeline Walkthrough
2/5During this Capital One interview round, candidates are evaluated on their ability to comprehend, explain, and improve a multi-stage data processing script. You must verbally walk an interviewer through data parsing, transformation, and aggregation logic while identifying potential bottlenecks, readability flaws, and hidden edge-case bugs. This exercise emphasizes communication skills and code craftsmanship alongside algorithmic awareness. Get immediate access to the full code walkthrough, evaluation criteria, and expert recommendations by subscribing.
Coding & Leetcode-style QuestionsCapital OneC++ Object Pool Debugging (Allocation Count)
3/5This systems-level debugging task, encountered during an Akuna Capital online assessment, asks candidates to inspect a broken C++ object pool implementation, fix compilation errors, and complete missing tracking functionality. Developers must navigate template syntax, memory management structures, and internal allocation counts within a strict time limit. The exercise evaluates low-level programming proficiency and code maintenance abilities. Subscribe to view the full prompt and reference solution code.
Coding & Leetcode-style QuestionsAkuna CapitalCode Review — Multi-PR Walkthrough
3/5In this interactive Airbnb interview round, candidates are placed in the role of a reviewer examining multiple pull requests of escalating complexity and architectural depth. You are expected to proactively lead the review, spot subtle logic bugs, highlight maintainability concerns, and suggest missing test coverage without relying on interviewer prompts. This evaluation measures your code craftsmanship, communication clarity, and software design intuition. Read the full walkthrough guide and expert evaluation criteria by securing a paid subscription.
Coding & Leetcode-style QuestionsAirbnbAI Assistant Repo Bug-Fix (OA Part 2)
3/5This Amazon online assessment simulates a real-world engineering scenario, focusing on practical debugging rather than pure algorithms. Candidates are presented with a pre-existing, full-stack application repository containing several functional issues. The challenge involves identifying and rectifying various broken behaviors, guided by an API contract and a test suite. Success requires keen attention to detail, the ability to navigate an unfamiliar codebase, and effective problem-solving to fix both explicitly stated and unstated bugs within a time limit. The full problem description and a model solution are available with a subscription.
Coding & Leetcode-style QuestionsAmazonRequests Library Debugging Round
3/5In this Stripe debugging challenge, you are tasked with diagnosing and resolving subtle failure modes within Python HTTP networking libraries. You must investigate anomalous behavior involving protocol redirects, header encodings, or retry policies, and craft a minimal, robust patch under time constraints. This scenario tests your troubleshooting methodology and familiarity with network request lifecycles. Viewing the complete diagnostic details and reference fix requires a subscription.
Coding & Leetcode-style QuestionsStripeTypeScript Refactor OA (HackerRank — fullstack)
3/5This full-stack refactoring assessment, administered via HackerRank for Salesforce interviews, evaluates your ability to clean up messy TypeScript codebases filled with conditional logic and duplicated operations. You will fix failing snapshot unit tests, expand test coverage, and restructure the architecture into a maintainable rule-driven design while keeping all tests passing. The comprehensive problem description and model solution require an active subscription.
Coding & Leetcode-style QuestionsSalesforceML Coding: Debug a NumPy / Tensor Framework
3/5Test your ability to troubleshoot and repair subtle defects in a custom tensor computation library during this mock engineering interview inspired by Waymo. This hands-on debugging challenge examines your understanding of memory aliasing, dimension reduction semantics, and numeric type conversions within custom array frameworks. Quick diagnosis and clear explanations are key to succeeding in this evaluation. Unlock the full troubleshooting guide, bug list, and corrected implementation by subscribing today.
Coding & Leetcode-style QuestionsWaymo
Studied alongside
code-reading interview FAQ
- How many code-reading interview questions are there?
- 24 reported questions, mostly Coding & Leetcode-style Questions.
- Which companies ask code-reading questions?
- Stripe (6), Affirm (2), JPMorgan (2), Salesforce (2), OpenAI (1), Oracle (1), DoorDash (1), Citadel (1).
- How hard are code-reading questions?
- They average 3.2 out of 5: 2 at 2/5, 16 at 3/5, 6 at 4/5.