Given two arrays representing power levels of heroes and monsters, a hero defeats a monster if the hero's power is strictly greater than the monster's power, earning a corresponding coin value…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.