Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
It is not from a programming competition. I am solving problems from SPOJ, UVA, CodeForces etc. and recently I've been doing task that required fast algorithm for comparing sequences lexicographically. Solution with quicksort was fast enough, because data wasn't big, but I wondered if there exist algorithm that could do it faster.