10
Alex Giesbrecht
Last seen 10 months ago
Member for 9 years, 3 months, 2 days
Difficulty Normal
Why not:
"return sorted(list(numbers_array), key=abs)" ? Short and clear otherwise
More
This is SO clean and efficient compared to mine... Gotta learn 'pythonese' a lot still
More
you really need to read about zip and comprehensions to solve this efficiently
More
range(len(histogram)) can be replaced with enumerate(histogram) to get both
index into list and value
More