Minimum Health to Beat Game

RedAurtherRedAurther
1 min read

๐Ÿง  Problem


๐Ÿท๏ธ Tags

array, greedy, prefix-sum


๐Ÿ“Š Difficulty

Medium

โœ… Success Rate: 58.7%
๐Ÿ“ฅ Submissions: 2,054
๐Ÿ“ˆ Accepted: 1,206


โค๏ธ Reactions

๐Ÿ‘ Likes: 30
๐Ÿ‘Ž Dislikes: 12


๐Ÿ’ก Hints

When should you use your armor ability? It is always optimal to use your armor ability on the level where you take the most amount of damage.


๐Ÿ” Similar Questions

  • Dungeon Game
  • Eliminate Maximum Number of Monsters

Leetcode Link : Minimum Health to Beat Game

0
Subscribe to my newsletter

Read articles from RedAurther directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

RedAurther
RedAurther