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 16 problems of 28

  • #1easyfrequently asked

    1. Two Sum

    Given an array of integers and a target, return the indices of two numbers that add up to the target. Coinbase asks this as a warm-up to gauge whether you reach for hash maps over nested loops on the very first problem.

  • #2easyfrequently asked

    2. Valid Parentheses

    Determine if a string of brackets is balanced and properly nested. Coinbase uses this to test stack fundamentals — order-book matching engines lean on the same LIFO discipline.

  • #3easyfrequently asked

    3. Merge Two Sorted Lists

    Splice two sorted linked lists into one sorted list. Coinbase uses this to test pointer manipulation — a common building block when merging streams of order-book updates from different feeds.

  • #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.

  • #6easyfrequently asked

    6. Search Insert Position

    Given a sorted array, find the index where a target should be inserted to maintain order. Coinbase asks this because it's the building block for inserting a new limit order at the right price level in an order book.

  • #7easyfrequently asked

    7. Maximum Subarray

    Find the contiguous subarray with the largest sum. Coinbase asks this to test the local-vs-global pattern — the same shape shows up when finding the most profitable contiguous holding window in price data.

  • #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.

  • #9easyfrequently asked

    9. Merge Sorted Array

    Merge two sorted arrays in place, with nums1 sized large enough to hold both. Coinbase asks this because in-place merges show up everywhere in matching engines — the destination buffer is already allocated.

  • #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).

Coinbase interview questionsBehavioral and technical questions for 1 Coinbase role, each with an answer outline.

Related interview-prep guides

Interview Platforms

CodeInterview.io Live Interview Guide: What to Expect in 2026

CodeInterview.io is a browser-based collaborative live-coding platform. Think of it as a lighter-footprint alternative to CoderPad with a video call built into the coding room, a playback that records every keystroke, and a drawing whiteboard. Its site lists 30+ languages and shows customer logos from startups up to Adobe, Samsung and SAP. This is what CodeInterview.io records, how it compares to CoderPad, what its AI Assist mode means for you, and how to walk through a live round cleanly.

Live Interview AI

Interview Coder Tools in 2026: The Real Risks and What Works

Tools sold as 'stealth' coding assistants are desktop overlays and browser extensions that read a live coding question and suggest AI answers in a window hidden from the screen share. The 2026 reality: hiding a window does not make anyone undetectable, using one against a company's rules is cheating, the offer-rescission risk is real, and the candidates who land jobs build the skill before the round. This guide covers what these tools really do, what a hidden window does not change, the legal and blacklist landscape, four habits from these tools that DO work for honest prep, and what to use instead if you want to actually get hired.

Interview Process

Beyz AI Alternatives: 7 Tools Compared on Price

Beyz AI lists $49.99 a month, or $24.99 a month billed every 6 months. Lower or shorter-commitment alternatives include Verve AI at $16.99 a month as shown (billing period unclear), Cluely at $19.99 a month and InterviewChamp at $15 a week. Pick by billing period, free plan and refund terms, not by the per-month figure alone.

Coinbase Coding Interview Questions — InterviewChamp.AI