Dungeon Game
Hard
Grid Path DP
A knight starts at the top-left and must reach the bottom-right (moving right or down). Cells add or subtract health. Print the minimum initial health needed so health never drops to 0 or below.
Constraints
1 <= r, c <= 200
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.