Mandragora Forest

  • + 1 comment

    My solution gets the right answer in the first test case (writing in Python), but I'm having trouble making it efficient enough to not time out. Would anyone have any tips?

    My solution involves creating a second list of possible experience points for each situation depending on if Garnet and her pet eat 0 to N mandragoras, then prints the maximum value in the list.