is realistic implement algorithm requires generating permutations of 25-th element set on our computer? subsets of such set?
no not, unless have special compact representation.
there 25! = 15511210043330985984000000 possible permutations of 25 element set, i.e. way more can ever represent on computer.
as subsets, that's more feasible. there 2^25 = 33554432 of those. you'll want use bitfields speed things , save memory, it's doable.
Comments
Post a Comment