Sorting in Python
Most times when finding solutions to a problem first sorting the data can greatly simplify the process and also produce a faster and cleaner solution.
An example is finding the 1st and 2nd greatest number in a list. After sorting in descending order ...
hexablog.hashnode.dev4 min read