Problem database last updated: June 20, 2025

CCoinbase logo

Coinbase Coding Interview Questions

9 problems · 1 Easy, 7 Medium, 1 Hard · Ranked #166 of 458

Difficulty breakdown

1 Easy

11% · avg 23%

7 Medium

78% · avg 59%

1 Hard

11% · avg 18%

Top topics

array
77.8%
string
55.6%2x
hash-table
44.4%2x
simulation
33.3%7.7x
design
22.2%3.8x
binary-search
22.2%2.5x

Interview profile

Based on 9 reported problems, Coinbase interviews are in line with industry averages - 11% Hard vs 18% overall. The majority (78%) of questions are Medium difficulty, which is typical for companies that want to see solid fundamentals without excessive trick questions.

Compared to the industry average, Coinbase puts unusual emphasis on simulation (33.3% of problems, 7.7x the industry average), design (22.2% of problems, 3.8x the industry average), binary-search (22.2% of problems, 2.5x the industry average). If you're short on time, these are the categories to double down on.

The most common topics are array (77.8%), string (55.6%), hash-table (44.4%), simulation (33.3%). Problems below are sorted by frequency, the ones at the top are asked most often.

All 9 problems

Simple Bank System

Solve

You have been tasked with writing a program for a popular bank that will automate all its incoming transactions (transfer, deposit, and withdraw). The bank has...

MediumVery Likely
arrayhash-tabledesign

Time Based Key-Value Store

Solve

Design a time-based key-value data structure that can store multiple values for the same key at different time stamps and retrieve the key's value at a certain...

MediumVery Likely
hash-tablestringbinary-search

Decode the Message

Solve

You are given the strings key and message, which represent a cipher key and a secret message, respectively. The steps to decode message are as follows:

EasyVery Likely
hash-tablestring

Text Justification

Solve

Given an array of strings words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully (left and right) justifie...

HardLikely
arraystringsimulation

Check if There is a Valid Partition For The Array

Solve

You are given a 0-indexed integer array nums. You have to partition the array into one or more contiguous subarrays.

MediumLikely
arraydynamic-programming

Random Pick with Weight

Solve

You are given a 0-indexed array of positive integers w where w[i] describes the weight of the ith index.

MediumLikely
arraymathbinary-search

Evaluate Division

Solve

You are given an array of variable pairs equations and an array of real numbers values, where equations[i] = [Ai, Bi] and values[i] represent the equation Ai /...

MediumLikely
arraystringdepth-first-search

Find the Length of the Longest Common Prefix

Solve

You are given two arrays with positive integers arr1 and arr2.

MediumLikely
arrayhash-tablestring

Number of Orders in the Backlog

Solve

You are given a 2D integer array orders, where each orders[i] = [pricei, amounti, orderTypei] denotes that amounti orders have been placed of type orderTypei at...

MediumLikely
arrayheap-priority-queuesimulation

How often are these problems asked?

Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Coinbase interviews.

Very Likely

75-100%

Likely

50-74%

Sometimes

25-49%

Rare

0-24%

Preparing for your Coinbase coding interview

Coinbase interviews focus heavily on array, string, hash-table problems. If you're short on time, these are the categories to prioritize. The problems on this page are sorted by frequency, so start from the top and work your way down.

Beyond solving problems, practice explaining your approach. Coinbase interviewers care about your thought process - how you break down a problem, consider edge cases, and evaluate tradeoffs between solutions. A clean O(n) solution you can explain clearly beats an O(log n) solution you can't articulate.

Looking for more companies? Browse all 458 companies in our directory, or sharpen your fundamentals with our free data structure visualizers and AI-powered DSA tutor.

Frequently Asked Questions

What coding problems does Coinbase ask in interviews?add

Coinbase has been reported to ask 9 distinct coding problems. The most common topics are array, string, hash-table. 1 are Easy difficulty, 7 are Medium, and 1 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.

How hard are Coinbase coding interviews?add

Based on 9 reported problems, Coinbase interviews are in line with industry averages - 11% Hard vs 18% overall. 78% of questions are Medium difficulty. Focus on the high-frequency Medium problems first, then work through the Hard ones.

How should I prepare for a Coinbase coding interview?add

Start with the highest-frequency problems listed on this page. Focus on the core topics: array, string, hash-table. Practice solving them under time pressure and explaining your approach out loud. Mock interviews with AI can simulate the real experience.

Other companies to explore

Ready to ace your Coinbase interview?

Simulate a real Coinbase coding interview with an AI interviewer. Get a scorecard with specific feedback on your problem-solving, code quality, and communication.

Simulate a Coinbase interview with AIarrow_forward