Google Interview Experience (Technical Screening)
Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2025-05-21Added By Anonymous
Source: Link
🧭 Experience: unknown
✅ Outcome: unknown
💰 Compensation: unknown
📍 Location: unknown
🏢 Company: Google
🎓 Education: unknown
🎁 Benefits: unknown
📅 Offer Date: unknown
**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.
✅ Outcome: unknown
💰 Compensation: unknown
📍 Location: unknown
🏢 Company: Google
🎓 Education: unknown
🎁 Benefits: unknown
📅 Offer Date: unknown
**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.