Question Details
Problem You are given a 2D grid representing an ancient tomb. Each cell is one of: '.' — open path '#' — wall 'T' — trap (costs 2 moves to pass through) 'G' — gold (must be collected on the way) Find the minimum-cost path from the top-left (0,0) to t…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding