This React app allows a user to learn and analyze a sorting algorithm. The user is able to select from a list of Sorting Algorithms (i.e. BubbleSort, MergeSort, SelectionSort), the number of elements in an array (represented by bars), and randomly assign values to those elements. The application also provides a description and time complexity information for each algorithm.
I started this process by considering which sorting algorithms I wanted to review. I integrated the users' ability to select how many bars/random numbers they wanted to view in the sorting process. I then utilized JavaScript to execute the sorting algorithm and utilized React to render the bars dynamically. This project has helped me visualize the sorting process and get a better understanding of the time and space complexity of each sorting algorithm.