News for hackers. Stuff that matters.
Re:It's React, but in Python by CJefferson on Wednesday June 07, 2023 @01:44AM (#36223301)
Lots of mathematical algorithms sort lists lexicographically. It comes up in graphs and lots of other combinatorics problems. Often you want a total order on 2D coordinates, an this ordering is (usually) the simplest and best.

There are no comments on this comment yet.