Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Gallery solution in Creative category for Count Inversions by veky
count_inversion = lambda s: sum(a > b for i, b in enumerate(s) for a in s[:i])
Sept. 5, 2014
Comments: