Obstacle Avoidance

Obstacle Avoidance problems involve a person whose direct path is blocked by an obstacle. The person must take a detour (e.g., go around the obstacle) to reach the destination. These problems test path planning and alternative route reasoning in direction sense contexts.

10Worksheets
200+Practice Questions
HardDifficulty
3-4 hoursHours to Master

Introduction to Obstacle Avoidance

Obstacle Avoidance problems involve a person whose direct path is blocked by an obstacle. The person must take a detour (e.g., go around the obstacle) to reach the destination. These problems test path planning and alternative route reasoning in direction sense contexts.

Prerequisites

Basic direction sense Path planning Coordinate geometry Net displacement concepts Alternative path calculation
Why This Matters: Obstacle Avoidance problems appear in 0-1 questions in advanced exams. They test practical navigation and problem-solving skills.

How to Solve Obstacle Avoidance Problems

1

Step 1: Identify the intended direction and the obstacle location

2

Step 2: Determine the required detour (e.g., go around by moving perpendicular to intended direction)

3

Step 3: Calculate the additional distance or new path coordinates

4

Step 4: For grid-based obstacles, find the shortest path avoiding the blocked cells

5

Step 5: For rectangular obstacles, go around by moving in L-shape (e.g., North then East, or East then North)

6

Step 6: Compare different detour options to find the shortest

7

Step 7: Express the detour path as a sequence of directions

Pro Strategy: For rectangular obstacles, the shortest detour is to go perpendicular to the intended direction around one end of the obstacle, then proceed, then return to the original line. The extra distance is twice the detour width.

Example Problem

Example: A person wants to go 10 m East but a 4 m × 4 m obstacle blocks the direct path starting at 3 m East. He decides to go North around it. Describe his detour path. Solution: Step 1: Direct path: East 10 m Step 2: Obstacle occupies from 3 m to 7 m East Step 3: Detour: go North 4 m, then East 10 m, then South 4 m Step 4: Path: North 4 m, East 10 m, South 4 m Answer: North 4 m, then East 10 m, then South 4 m

Pro Tips & Tricks

  • The shortest detour around a rectangular obstacle adds 2 × (detour distance)
  • If obstacle is at the start, you may need to go around from the beginning
  • For multiple obstacles, consider path that avoids all
  • In grid-based puzzles, obstacles block specific cells; find path through unblocked cells
  • For circular obstacles, detour path is curved, but problems usually use rectangular obstacles
  • Always verify that the detour path doesn't intersect other obstacles

Shortcut Methods to Solve Faster

Detour around rectangular obstacle: go perpendicular, then forward, then perpendicular back
If obstacle width = w, detour adds 2w to path length
For obstacles at the destination, approach from a different direction
Minimum detour distance = 2 × distance to go around

Common Mistakes to Avoid

Forgetting to return to the original line after detour
Not considering the obstacle's size when planning detour
Assuming the shortest detour always goes the same way (may go above or below)
Not accounting for obstacles that span the entire path

Exam Importance

Obstacle Avoidance is an important topic for various competitive exams. Here's how frequently it appears:

SSC CGL
0-1 questions
BANKING PO
0-1 questions
RAILWAYS RRB
0-1 questions
CAT
1-2 questions
INSURANCE
0-1 questions

Ready to Master Obstacle Avoidance?

Start with Worksheet 1 and work your way up to expert level! Each worksheet includes:

20 practice questions
Detailed solutions
Step-by-step explanations
Start Practicing Now