Coinbase Interview Questions
Practice the exact questions companies are asking right now.
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...
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 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 ...
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...
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...
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...
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 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...
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 ...
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 ...
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...
Detect and quantify wash trading
Detecting and Quantifying Wash Trading on a Centralized Exchange Context You are designing an analytics approach for a centralized exchange to detect ...
Estimate Super Bowl QR ad sign-ups
Incremental Sign-ups From a Super Bowl QR Ad (48h) CoinFactory ran a 60-second Super Bowl TV spot on 2025-02-09 with a QR code to a signup page. Succe...
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...
Design KYC experiment amid crypto volatility
A/B Test Design: Improve Mobile KYC Completion During High Market Volatility Context: You are analyzing a mobile onboarding funnel where the KYC (Know...
Diagnose a 20% retail revenue drop
E-commerce Revenue Drop Diagnosis Case Context Week T net revenue is down 20% versus the prior 4-week moving-average baseline. You have weekly e-comme...
Design cloud storage system
In-Memory Cloud Storage: Design and Implement You are asked to design and implement an in-memory cloud storage system that maintains a mapping from fi...
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...
Process food delivery data queries
Question Given menus and restaurants, return the restaurant offering the lowest total price for an order and that is geographically closest. Given men...