|
|
|
|
|
by kaashif
945 days ago
|
|
> All you have to do is "compare and swap" and loop through until you are done, this is way easier than Fizzbuzz. I think you have this wrong, Fizzbuzz is actually completely trivial to the point where the problem statement is almost literally (modulo modulo) a description of the algorithm. Bubble sort is very easy but it's not literally trivial to the same degree as Fizzbuzz! |
|
Fizzbuzz requires you to read and understand a few lines of requirements. That is much harder than just "order these elements, runtime isn't important", you can easily miss some part of the problem statement or misunderstand it for Fizzbuzz and fail, you shouldn't but it can happen, no such thing for a quadratic sort.