Ad
  • Custom User Avatar

    Is it one way of saying that you have to rearrange to different permutation of the array and return one of those arrangement randomly?
    I already made this kind of function but failed. So I thought they that those friend are in circle while giving gifts and the index will move to specific number. I'm done already with this but failed. The instruction is confusing. Can somebody explain simply?