Generate a congruent list with the smallest sum – codegolf.stackexchange.com

Two lists A and B are congruent if they have the same length, and elements that compare equal in A compare equal in B. In other words, given any two valid indices x and y: If A[x] = A[y], then B[x] ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Generate a congruent list with the smallest sum – codegolf.stackexchange.com"