alesbe / sorting-visualizer

Sorting visualizer made with SFML and C++ 📊
MIT License
17 stars 11 forks source link

Add Bitonic Sort #32

Closed ForgotMyCode closed 1 year ago

ForgotMyCode commented 1 year ago

Added Bitonic Sort.

Since classic bitonic sort requires sizes of powers of 2, this implementation adds padding if it is not the case. It may not look so good in the visualisation, so I still recommend using powers of 2 for this algorithm.

alesbe commented 1 year ago

Thanks for your contribution!

I looked at the changes and everything looks okay, really good implementation! Also including everything into it's own namespace was a good idea :)

🙌🙌

ForgotMyCode commented 1 year ago

Thanks for your contribution!

I looked at the changes and everything looks okay, really good implementation! Also including everything into it's own namespace was a good idea :)

🙌🙌

That's good to hear, I was a bit concerned since it was my first pull ever. Thanks!