Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Python 3 Types in the Wild. Parent comment
If the need exists for a list of lists then it exists for a set of sets.
An example of this is finding all combinations possible non ordered groups of letters given a collection of letters: abadfjiik.
A typical algorithm will produce dupes. But if your accumulator is a set of frozen sets you can produce a result with no dupes.
There are no comments on this comment yet.
If the need exists for a list of lists then it exists for a set of sets.
An example of this is finding all combinations possible non ordered groups of letters given a collection of letters: abadfjiik.
A typical algorithm will produce dupes. But if your accumulator is a set of frozen sets you can produce a result with no dupes.