Position: Senior SDE-Android
Location : Bangalore
Date: May, 2019
Round 1: Telephonic
First, discussion about one of my recent projects.
Question 1:
Given an array, print the numbers in random order.
Solved it.
Expected time complexity : O(n) with constant space.
My solution :
generate a random index between o to n
Print that number
Swap that number with the last number
N = n-1
Question 2:
https://leetcode.com/problems/paint-house-ii/
Solved it.
For both the questions, I was just asked to explain the approach.
Onsite:
Round 2:
Design round.
Design social feed like Instgram.
Round 3:
Projects discussion
Tech:
Send data from activity to fragment
Send data from fragment to activity
Algo:
Given an array of 0s and 1s, shift all the zeroes to start : https://leetcode.com/problems/move-zeroes/
Round 4:
Discussion around one of the project. Then discussion around curefit and it’s mobile team
Round 5 (Telephonic) :
Discussion around projects.
Design [Swiggy rider app] (https://play.google.com/store/apps/details?id=in.swiggy.deliveryapp)