by weebull · 1y ago · 0 comments
```py """Warning: This code completes in a shocking O(n log n) time complexity and allocates memory with reckless abandon""" ```
How shocking that sorting is an O(n log n) algorithm.
Edit: he then goes on to use bubble sort.
I think there might be a large amount of tounge in cheek with this blog post, but it doesn't really land.
The answer is produced as a compiler error and so there is zero runtime at all.