Ad
  • Default User Avatar

    Alright... after switching things the wrong way i've switched them right :)

  • Default User Avatar

    Thanks for pointing that out... fixed it.

  • Default User Avatar

    do the inputs always contain the correct number of values? because im getting an "index out of range error" on two of the tests (not the sample ones). This is in python>

  • Default User Avatar

    A key part to this problem that makes it much easier is that you can only move right or down. If you could move in any direction(up, down, left, or right)how would you go about solving it. Would it be neccasary to calculate every possible path(which would probably become impossible with bigger arrays) or is there some other way?

  • Default User Avatar

    I tried this with sequence.back() - 1 instead of sequence.at(sequence.size() - 2), but for some reason it didnt work, why?