Ad
  • Default User Avatar

    Interesting task, in python I implemented generator that generates next element of permutation for those numbers. Seems to work fine but test cases are timing out after 3/4 test cases for bigger numbers. Any hints for optimazation?