- Cleared till three rounds
- No Offer
- Neutral experience
-
Machine coding round [90 min coding + 30 min Q/A]-
Design BattleField game. [A board can be divided in two halves which are to be given to two players and then you need to add ships for each players. Every player will get a chance to hit at any random point by missile and if it hits the opponent's ship, the ship will get destroyed. The players wins if all ships of its oponnent are destroyed.
Rstrictions - You can hit missile at the same point two times in a game.] -
PS and coding -
A) Insert a node in complete binary tree. [One simple approach is to use BFS with O(n) but I was asked to solve it with more optimized solution. O(log N)]
B) Find minimum number of moves to open a circular disc number lock. [Restriction - There are some blocked patterns and you are not allowed to have any blocked pattern at any instant of time. Example - You have to reach 000 to 111 and blocked patterns are - 011 and 001]
C) Given an integer number line and each step size is equal to step number. you have to tell the minimum number of steps to reach a particular number.
https://leetcode.com/problems/reach-a-number/solution/
Design Round -
Design an application which is having feature like Watsapp status.
Any user can upload some status and all the contacts[friends] should be able to see his status.


