Devising a Plan: Solution
Devise a plan to solve this problem.
We'll cover the following
We have broken down the problem into the following subproblems:
-
Identify the location of the bear.
-
Apply the knowledge gained in the first step to guess the color of the bear.
Let’s solve these problems to reach our main goal.
Subproblem 1: Identifying the location
Let’s analyze the path to identify the location.
The path
We have a clear description of the path of the bear’s movement.
- It moves from north to south, P to Q.
- It moves from south to east, Q to R.
- And then, from east to north, R to P’.
Get hands-on with 1400+ tech skills courses.