Search Projects

Thursday, March 29, 2012

Bucket Sort : A project demonstartes sorting

Abstract

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 .

Description

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



5 comments:

  1. You must have posted the image which shows the sorted numbers...

    ReplyDelete
  2. can u please post the avl tree.

    ReplyDelete
  3. can you please post the johnson trotter algorithm using opengl.

    ReplyDelete
  4. please give the code for creating a simple tree(data structure tree) and its operation

    ReplyDelete