PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Coding & Algorithms/Coinbase

Analyze food-delivery data

Last updated: Mar 29, 2026

Quick Overview

This question evaluates algorithmic problem-solving and data-processing competencies, including aggregation, time-window analytics, top-K selection, and geospatial proximity reasoning, within the Coding & Algorithms domain.

  • Medium
  • Coinbase
  • Coding & Algorithms
  • Software Engineer

Analyze food-delivery data

Company: Coinbase

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: Medium

Interview Round: Onsite

##### Question Food-delivery analytics tasks (three sub-questions). Given many restaurants and their menus, return the restaurant offering the lowest total price for an order and the one geographically closest to the user. Given menu item prices and a list of orders, compute the total price, order count, and average order value over a time window. Over the same time window, return (a) the Top-K orders by total price and (b) the Top-K menu items by sales volume.

Quick Answer: This question evaluates algorithmic problem-solving and data-processing competencies, including aggregation, time-window analytics, top-K selection, and geospatial proximity reasoning, within the Coding & Algorithms domain.

Related Interview Questions

  • Implement an In-Memory Database - Coinbase (hard)
  • Implement a Coin-Constrained Jump Strategy - Coinbase (hard)
  • Implement Game Physics and Block Mining - Coinbase (hard)
  • Compute Total Manual Distance - Coinbase (medium)
  • Implement a Flappy Bird Jump Agent - Coinbase
Coinbase logo
Coinbase
Aug 4, 2025, 10:55 AM
Software Engineer
Onsite
Coding & Algorithms
5
0
Question

Food-delivery analytics tasks (three sub-questions).

Given many restaurants and their menus, return the restaurant offering the lowest total price for an order and the one geographically closest to the user.

Given menu item prices and a list of orders, compute the total price, order count, and average order value over a time window.

Over the same time window, return (a) the Top-K orders by total price and (b) the Top-K menu items by sales volume.

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Coding & Algorithms•More Coinbase•More Software Engineer•Coinbase Software Engineer•Coinbase Coding & Algorithms•Software Engineer Coding & Algorithms
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.