PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Coding & Algorithms/Morgan Stanley

How do you escape the circle?

Last updated: Mar 29, 2026

Quick Overview

This question evaluates spatial reasoning, continuous pursuit-evasion strategy and mathematical proof skills, requiring geometric insight and analysis of relative motion in a continuous setting.

  • medium
  • Morgan Stanley
  • Coding & Algorithms
  • Data Scientist

How do you escape the circle?

Company: Morgan Stanley

Role: Data Scientist

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

A dog runs continuously along the boundary of a circle of radius 1 at speed 4. You start at an arbitrary point strictly inside the circle and can run at speed 1 anywhere inside the disk. If the dog is at the same boundary point at the instant you reach the boundary, you are caught. Otherwise, if you reach an unoccupied boundary point, you immediately escape. Can you guarantee escape? If yes, describe a strategy and justify why it works.

Quick Answer: This question evaluates spatial reasoning, continuous pursuit-evasion strategy and mathematical proof skills, requiring geometric insight and analysis of relative motion in a continuous setting.

Related Interview Questions

  • Implement Factorial and Squares - Morgan Stanley (medium)
  • Compute maximum non-overlapping meetings - Morgan Stanley (medium)
  • Compute win probability in coin-toss game - Morgan Stanley (easy)
  • Count decodings of a digit string - Morgan Stanley (Medium)
  • Compute minimal cost to merge numbers - Morgan Stanley (Medium)
Morgan Stanley logo
Morgan Stanley
Dec 8, 2025, 12:00 AM
Data Scientist
Technical Screen
Coding & Algorithms
2
0

A dog runs continuously along the boundary of a circle of radius 1 at speed 4. You start at an arbitrary point strictly inside the circle and can run at speed 1 anywhere inside the disk.

If the dog is at the same boundary point at the instant you reach the boundary, you are caught. Otherwise, if you reach an unoccupied boundary point, you immediately escape.

Can you guarantee escape? If yes, describe a strategy and justify why it works.

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More Coding & Algorithms•More Morgan Stanley•More Data Scientist•Morgan Stanley Data Scientist•Morgan Stanley Coding & Algorithms•Data Scientist Coding & Algorithms
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.