Coinbase
Anonymous User
1776

Round 1 - Domain
I was asked to design a food app where, I was giving few methods to implment, these methods were to find the minimum price for a particular food item from the menu. Also, based on location of user we need to find the nearest location for restaurant that serves that item.

Follow up - Given the time range and an order list with timestamp, find the number of orders in the given timerange. Find the average order value & find the total order value.

Solution ->
I tried to follow a production grade ready code ensuring edge cases are covered. I used java and wrote around 200+ lines of code to solve the entire problem.

Comments (4)