generate all possible permutations of a list - Kdb+ / qStudio

Home Forums Kdb+ / qStudio generate all possible permutations of a list

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #161

    Oskar Morgenstern
    Guest

    Hi,

    I am going through some classical programming problems and wondered what is the shortest code to generate all possible permutations of a list? I’ve racked my brain and I can’t help but keeping of it as a loop.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.