Question: 2 . Minimize enemies to kill [ Hard ] Given a 2 D grid of characters with values ' 0 ' , ' 1 '
Minimize enemies to kill Hard
Given a D grid of characters with values X and two special characters A and B
Find minimum number of enemies to kill such that we can get both special characters and get out of the Grid.
means there is no wall.
means wall or blocked path.
X represents Enemies once killed can be converted to
Example :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
