Coinbase Interview Questions
Practice the exact questions companies are asking right now.
Implement cursor-based query pagination
You are building a small in-memory database that stores rows with the following fields: - id (string, unique) - score (integer) - payload (string) You...
Implement banking, knapsack, and pagination tasks
Problem A — Banking system command processor Implement an in-memory banking system that processes a sequence of commands in timestamp order. Entities ...
Design a food delivery system
Design a food delivery platform (similar to common restaurant delivery apps). Core user stories 1. Customers can browse restaurants/menus, place an or...
Design real-time crypto prices homepage
Design a system that powers a “crypto explore/home” page (like an exchange’s market page) that: - Shows a list of crypto assets (e.g., BTC, ETH, SOL, ...
Implement cloud storage with quotas and compression
Problem Implement an in-memory cloud storage service that supports multiple users, per-user storage quotas, changing quotas with eviction, and file co...
Design an in-memory database with TTL and backups
You are asked to implement a small in-memory “database” that evolves across 4 parts. In each part you may reuse your previous code and only add/extend...
Implement basic pagination for a list
You are given: - A zero-indexed array of items items (you can assume it fits in memory). - An integer pageSize > 0. Design and implement a pagination ...
Solve restaurant path and order event tasks
You are given two independent coding tasks. Task 1: Shortest paths in a restaurant grid Context: A restaurant is represented as a 2D grid. The waiter ...
Implement a versioned recipe management system
You are asked to implement an in-memory Recipe Management System (similar in difficulty to a simple banking/in-memory DB exercise). The system support...
Implement a blog feed with fetching and state
You are building a simple Blog Posts page (React). Implement the UI and client-side logic in incremental steps. Data model Assume each post has at lea...
Design crypto trading order control API
You are implementing part of a simple crypto trading system that manages client orders. Each order can be in one of several states: NEW, ACTIVE, PAUSE...
Paginate forward and backward through results
You are asked to extend a basic pagination system to support forward and backward navigation, similar to a cursor-based API. You are given: - A zero-i...
Build a baseline classification model from messy data
In a live notebook (e.g., Jupyter), you are given a messy, real-world tabular dataset for a binary classification problem. Data characteristics - Targ...
Design a blob storage system for lunar environment
You are asked to design a blob storage system deployed on a lunar base. The interviewer is intentionally making the environment unusual (the Moon) to ...
Design a bank account ledger
Design a Bank Account Ledger Service Context You are building the core ledger service for a fintech wallet/banking platform. The service must support ...
Write SQL to rank top products per category
You are given two tables: products - product_id (int, primary key) - category (string) order_items - order_id (int) - product_id (int) - quantity (int...
Solve the 12-coin balance puzzle
12-Coin Counterfeit Problem (3 Weighings) Setup - You have 12 visually identical coins. - Exactly one coin is counterfeit; it is either heavier or lig...
Generate Weighted Random NFTs with Updates
You manage k NFT types, each with a positive integer rarity weight w[i]. Implement a minter: constructor(w) builds any needed structures in O(k); mint...
Design account system with cashback
System Design: Account Management with Transfers, Payments, and Cashback You are to design and implement an in-memory account management service that ...
Describe cross-team collaboration on past projects
In a behavioral interview with an engineering manager, you are asked to discuss your previous project experience, with a particular focus on cross-tea...