Skip to main content

Coinbase Coding Interview Questions

28 Coinbase coding interview problems with full optimal solutions — 16 easy, 9 medium, 3 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an Coinbase interviewer values, and a FAQ section.

Showing 10 problems of 28

  • #4easysometimes asked

    4. Remove Duplicates from Sorted Array

    Compact a sorted array in place so each element appears once and return the new length. Coinbase uses this to probe pointer-discipline — the same two-pointer trick deduplicates trade prints with the same sequence number.

  • #5easysometimes asked

    5. Remove Element

    Remove all occurrences of a target value from an array in place. Coinbase uses this as a quick filter to confirm you reach for two-pointer compaction before allocating.

  • #8easysometimes asked

    8. Plus One

    Increment a big integer represented as a digit array by one. Coinbase uses this as a warm-up before the inevitable BigInt and precision-handling follow-ups.

  • #10easysometimes asked

    10. Binary Tree Inorder Traversal

    Return the inorder traversal of a binary tree's values. Coinbase asks this to confirm you can do both recursive and iterative tree walks — iterative is the one you'd use to walk a price-level tree without blowing the stack.

  • #11easysometimes asked

    11. Same Tree

    Determine whether two binary trees are structurally identical with equal values. Coinbase asks this as a warm-up for tree-equivalence and snapshot-comparison follow-ups.

  • #12easyrarely asked

    12. Symmetric Tree

    Check whether a binary tree is a mirror of itself. Coinbase uses this to confirm you can recurse on pairs — the same pattern used to compare a bid ladder with its ask mirror.

  • #14easysometimes asked

    14. Balanced Binary Tree

    Determine if a binary tree is height-balanced. Coinbase uses this to test the post-order short-circuit pattern — the same trick used to validate constraints across an order-book tree.

  • #15easyrarely asked

    15. Minimum Depth of Binary Tree

    Return the minimum depth — the number of nodes along the shortest path from root to nearest leaf. Coinbase asks this to test whether you spot the asymmetric edge case where one child is null.

  • #16easyrarely asked

    16. Pascal's Triangle

    Generate the first numRows of Pascal's triangle. Coinbase asks this to test array-building discipline and to set up follow-ups on combinatorics (used in risk-pricing).

Related interview-prep guides

Interview Platforms

CodeInterview.io Live Coding Interview Guide (2026): What the Platform Tracks and How to Walk Through It Cleanly

CodeInterview.io is a browser-based collaborative live-coding platform. Think of it as a lighter-footprint alternative to CoderPad with an integrated video call, per-keystroke replay, and a drawing whiteboard. Smaller market share than CoderPad but shows up at a meaningful slice of YC startups and mid-market tech teams in 2026. This is what CodeInterview.io tracks, how its all-in-one workflow compares to CoderPad, and how a modern desktop AI setup pairs with it without showing up in the screen-share.

Live Interview AI

Interview Coder & Stealth-Coding Tools in 2026: What They Are, What They Risk, and Why Honest Prep Wins

Stealth-coding interview tools are desktop overlays and browser extensions that secretly feed answers to candidates during live coding interviews. The 2026 reality: they are not undetectable, the offer-rescission risk is real, and the candidates who land jobs are running honest-prep tools before the round, not stealth overlays during it. This guide covers what these tools claim to do, how detection plays out in 2026, the legal and blacklist landscape, the four stealth tactics that DO work for honest prep, and what to use instead if you want to actually get hired.

Interview Process

Beyz AI Alternatives in 2026: 7 Tools Compared (Screenshot + Stealth Helpers)

Beyz AI is a screenshot-and-clipboard interview helper that surfaces AI answers on a hidden overlay during online assessments and live rounds. The 2026 reality: candidates search for alternatives because of detection anxiety on monitored OAs, the $30+/month price tag with feature ceilings, and the narrow scope (coding-OA-shaped use only). This guide ranks the 7 best Beyz AI alternatives in the same screenshot-helper category, with InterviewChamp.AI compared honestly alongside, plus how to pick based on your specific interview gauntlet.

Coinbase Coding Interview Questions — Full Solutions — InterviewChamp.AI