"An algorithm must be seen to be believed..." Donald Knuth
"qAlgo" is a simple demonstrative and educative GUI application that allows to see how basic sorting algorithms work in action written using Qt library. It can find usage in schools or universities on first courses, or can be used just for fun.
- Adjustable size of array
- 5 sort algorithms (Quick, Bubble, Insertion, Coctail Shaker, Shell)
- Adjustable speed of animation
- Start/Stop, Step forward, Step back actions
- Adjustable arrangement of array(put in range, randomize, restore order)
- When cursor leaves widget area all controls hide leaving only viewport and au contraire.
In order to start sorting animation sequence automatically('Start' button) or manually('Step forward' button) first one should select sort type.
Qt5.12 should be used(There are deprecation and incomatibility errors when using Qt6.7)
Pull requests are welcome, along with any feedback or ideas.
GNU GENERAL PUBLIC LICENSE Version 3