An intransitive set can have members A B and C where A > B > C
but C > A
. Such a set might be photos ordered by a person's preference.
I can relatively easily find algorithms for finding the maximum of a transitive set with minimal work, and even for sorting an intransitive set, but it's hard to see how to combine the two.
Is there a known solution for this problem?