Most pythonic way of rotating a circular list to a canonical point

Lukas Barth mail at tinloaf.de
Sat Aug 1 23:24:15 CEST 2015


Perhaps I should clarify a bit:

- I definitely need a "canonical rotation" - just a comparison result is not enough

- It does not matter what that rotation is. Starting with the smallest element was just an idea by me, any rotation that can easily produced will do.


More information about the Python-list mailing list