Mining Block - Fee-Maximizing Transactions
Asked at Coinbase · Coding Questions · Difficulty: Medium · Last asked May 5, 2026
A blockchain-flavored knapsack. A block has a maximum total `size` (weight budget); each `Transaction` has `.id`, `.size`, `.fee`. Select transactions to maximize total fee.
Loading the problem…
More Coinbase interview questions
- Design Coinbase Explore Real-Time Price Dashboard
- Design a Multi-Chain Crypto Ledger & Wallet History
- Design a Credit-Approval Risk Engine
- Baseline Classifier on a Messy Tabular Dataset
- N-th Most Recent Purchase per User and Its Change from the Previous Purchase
- Hiring Manager - Project Deep-Dive + AI Usage BQ