Panda Guru LogoPanda
Guru

Google | L4 | Onsite | Coding Question

Round 1

Questions: You have a list of trees coordinate (x, y) in a forest. You have a camera with a fixed degree (within 0 - 360) of visibility which can only be placed in origin (0, 0). You have also given with a predefined function that returns the degree of angle any tree's coordinate is making with x-axis (within 0 - 360). Return a list (of minimum size) of degrees your camera should be placed, so that it can capture all the trees.

Example 1:

Example 2:

Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.