Search Projects

Showing posts with label Bucket Sort. Show all posts
Showing posts with label Bucket Sort. Show all posts

Thursday, March 29, 2012

Bucket Sort : A project demonstartes sorting


Sorting is process of arranging the numbers in an order say ascending/descending orders. There are various methods through which numbers can be sorted. Idea of sorting can be implemented in OpenGL, to show sorting graphically. This project implement the idea of sorting. It used Bucket Array to implement the sorting, hence named as Bucket Sort .


In the Bucket Sort, first user is asked to enter the number of elements and the elements. Those elements are stored in an array called Input Array. A temporary Bucket Array is taken which stores the preference for the sorting. According tho the value of the Bucket Array changes is made in the Input Array. After having all the values used up numbers get sorted and sorted values is displayed. Each changes is displayed correspondingly.

Source code Download link