Tracking a dog that somersaults to catch the ball
hardsubjectivesystem design
Asked in interviews
Extend it once more: instead of a normal jump, the dog does a somersault (a full mid-air rotation) at the end to catch the ball. What new difficulties does the somersault introduce, and how do you handle them?
Voice input needs Chrome or Edge. On this browser, type your answer — grading is the same.