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

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

This topic contains 0 replies, has 1 voice, and was last updated by  Oskar Morgenstern 8 years, 8 months ago.

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

    Oskar Morgenstern

    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.