Skip to content Skip to sidebar Skip to footer
Showing posts with the label Sorting

Find N Largest Lines From A File: How Would You Make This Better?

I was recently rejected from a potential employer after submitting this code. They suggested I wasn… Read more Find N Largest Lines From A File: How Would You Make This Better?

Sorting A Nested Ordereddict By Key, Recursively

Say orig is an OrderedDict which contains normal string:string key value pairs, but sometimes the v… Read more Sorting A Nested Ordereddict By Key, Recursively