There is a lot of room to do exactly the same thing more efficiently, which doesn't count as different algorithms.

Are bubble sort and quick sort the same algorithm?

But 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.