2838. Maximum Coins Heroes Can Collect - Solutions and Explanation | Vultr Docs