Ola Cabs Interview Report
- 0of 0 votes
AnswersDesign rubik’s cube and its operation (all rotations and checking final state)
- neer.1304 January 20, 2017 in United States| Report Duplicate | Flag | PURGE
Ola Cabs SDE-3 Algorithm - 0of 0 votes
AnswerDesign and implement a sender and receiver system where there can be multiple senders and receivers subscribed to Topics. Each event generated at sender should be received by all receivers subscribed to that topic. Bonus if you can implement group mechanism at receiver side where event is received by one of the receiver in group and received by all groups subscribed to that Topic.
- neer.1304 January 20, 2017 in United States| Report Duplicate | Flag | PURGE
Ola Cabs SDE-3 Algorithm - 0of 0 votes
AnswerDesign and write algo for a bowling game wherein multiple games could be played in parallel and the scores to be shown for each game.
- neer.1304 January 20, 2017 in United States
Detailed question
Design the entire bowling alley system. One bowling game will be played by multiple players on a single lane.
During the game,players and their scores will be maintained and shown by the system and winner will be declared at the end of the game.
Likewise multiple games can be played in parallel on multiple free lanes.
Some rules about bowling:
A game consists of ten sets
In each set,the player has two opportunities to knock down ten pins.
The score for a set is the total number of pins knocked down,plus bonuses for strikes and spares.
A spare is when the player knocks down all ten pins in two tries.If there is spare the player gets 5 bonus points.
A strike is when the player knocks down all ten pins on his/her first try.If there is a strike the player gets 10 bonus points.
In the final set a player who rolls a spare or a strike is allowed to roll the extra balls to complete the set.However only a maximum of three balls can be rolled in the final set.| Report Duplicate | Flag | PURGE
Ola Cabs SDE-3 design - 0of 0 votes
AnswersStream of news events come; Need to find top 5 news at any time. use suitable data structure as score of news can dynamically increase or decrease.
- neer.1304 January 20, 2017 in United States| Report Duplicate | Flag | PURGE
Ola Cabs SDE-3 Algorithm - 0of 0 votes
AnswersImplement thread safe generic typed hashmap.
- neer.1304 January 20, 2017 in United States| Report Duplicate | Flag | PURGE
Ola Cabs SDE-3 Algorithm - 0of 0 votes
AnswerImplement in-memory file system
- neer.1304 January 20, 2017 in United States| Report Duplicate | Flag | PURGE
Ola Cabs SDE-3 Algorithm - 0of 0 votes
AnswerDetermine if a point is inside a 2D convex polygon
- neer.1304 January 20, 2017 in United States| Report Duplicate | Flag | PURGE
Ola Cabs SDE-3 Algorithm - 0of 0 votes
AnswersIn memory cache implementation which supports concurrent operations for PUT, GET and DELETE
- neer.1304 January 20, 2017 in United States| Report Duplicate | Flag | PURGE
Ola Cabs SDE-3 Algorithm