Ad
  • Custom User Avatar

    you are asking for help. this is not a kata Issue (a bug within the kata). please do not open issues so lightly

    you forgot to include 2 ** 0 (aka 1) in your array, because your while loop stops when n === 0