Question
You are given a list of planets with a center and radius c and r. The planet will have gravitation pull depending on it's radius. We also have spacecraft that need to pass this solar system but if we come under the range of a planet's gravitational pulls we will be put down. Return the list of safe ranges for spacecraft to cross the solar system.
---p1----p2--p3---p4-p5-------p6--
Let me know what do you guys think for solution.
Comments (4)


