Panda Guru LogoPanda
Guru

Agoda DSA Round

Round 1

Questions:

  1. There is an array which contains the speed at which the ith plane is approaching the ground. At each second only one plane can be shot. How much time will be needed to shoot all the planes? If shooting is not possible return -1.
  2. There is a 2x2 matrix of 0 and 1, representing a maze. Find the shortest length of the path that it has to take to reach the bottom right corner. Movement can only be done toward right or bottom.
Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.