Ad
  • Default User Avatar

    yep, but if you've already mastered all the logic behind the simple permutation, sometimes using a stl function would come with less TC compared to coding on your own. This solution provides some insights with me, though I still deem it cheating XD