You need to sign in or sign up before continuing.×
Ad
  • Custom User Avatar

    what happens if the two nums are the same? Or do we assume that won't happen?

    EDIT: actually, this response is still misleading, I think. The path is not determined by which two possible dowstream choices is larger. The path is determined by the one that sums to the largest possible number (with possible paths never moving more than 1 to the right or left at each level it goes down)

  • Custom User Avatar

    I'm failing on a random test:

    revrot("99078338908780462326765532387905467445133816990142103135275560", 6)

    it claims this should return ''. Why should it return ''?