

smartphones) from the outset due to the need to cater for many complex algorithm visualizations that require lots of pixels and click-and-drag gestures for interaction.

VisuAlgo is not designed to work well on small touch screens (e.g. CS1010, CS1020, CS2010, CS2020, CS3230, and CS3230), as advocators of online learning, we hope that curious minds around the world will find these visualisations useful too. Though specifically designed for National University of Singapore (NUS) students taking various data structure and algorithm classes (e.g. Today, some of these advanced algorithms visualization/animation can only be found in VisuAlgo. VisuAlgo contains many advanced algorithms that are discussed in Dr Steven Halim's book ('Competitive Programming', co-authored with his brother Dr Felix Halim) and beyond. VisuAlgo was conceptualised in 2011 by Dr Steven Halim as a tool to help his students better understand data structures and algorithms, by allowing them to learn the basics on their own and at their own pace.
#SELECTION SORT VS BUBBLE SORT WOST CASE SENARIO FREE#
Please login if you are a repeated visitor or register for an (optional) free account first. Remarks: By default, we show e-Lecture Mode for first time (or non logged-in) visitor. Try clicking Bubble Sort for a sample animation of sorting the list of 5 jumbled integers (with duplicate) above.Ĭlick 'Next' (on the top right)/press 'Page Down' to advance this e-Lecture slide, use the drop down list/press 'Space' to jump to a specific slide, or Click 'X' (on the bottom right)/press 'Esc' to go to Exploration mode. Without loss of generality, we assume that we will sort only Integers, not necessarily distinct, in non-decreasing order in this visualization. Sorting is commonly used as the introductory problem in various Computer Science classes to showcase a range of algorithmic ideas. There are many different sorting algorithms, each has its own advantages and limitations. integers, floating-point numbers, strings, etc) of an array (or a list) in a certain order (increasing, non-decreasing, decreasing, non-increasing, lexicographical, etc).

Sorting is a very classic problem of reordering items (that can be compared, e.g.
