Flipkart| SDE 1| June 2020[Reject]
1.Problem Solving Round -
Two Problems -
a. https://leetcode.com/problems/gas-station/
b. Print most left node on last level in a binary tree
- Mahine Coding Round
Problem Statement - Given history data of few cab rides where passengers giving rating to drivers and drivers giving rating to passengers. Need to code a cab booking system based on given conditions -
a. Assigning ride to a driver whose average rating is greater than passenger average rating. if not possible assign it to a driver whose rating is greater than 1 and travelled with passenger before.
b. Print Drivers eligible for a passenger sorted by distance.
Result - Reject
Possible Reason - Not able to code gas station problem in given time although explained the approach