3 ms·
There is a lot of room to do exactly the same thing more efficiently, which doesn't count as different algorithms.
by HelloNurse 4mo ago
There is a lot of room to do exactly the same thing more efficiently, which doesn't count as different algorithms.
- questionableans 4mo agoAre bubble sort and quick sort the same algorithm?
- burnte 4mo agoBut they COULD be entirely different algorithms. And frankly, even if they're only 20% different, that's still different. An algorithm is a sequence of steps and logic. You can create many different sequences to still get the same result.
- baobabKoodaa 4mo agoGo take an algorithms 101 class. That's literally all it is: learning how to write different algorithms to do the same thing more efficiently.