Tuesday, 6 December 2011

Sorts_1

1.Interchange  Sort
Flowchart

//----------------------------------------------------------------------------------------------------------
code

 //----------------------------------------------------------------------------------------------------------

2.Selection Sort
Flowchart


//----------------------------------------------------------------------------------------------------------
Code


 //----------------------------------------------------------------------------------------------------------

3.Insertion  Sort
Flowchart


//---------------------------------------------------------------------------------------------------------
Code


//------------------------------------------------------------------------------------------------------------------------------ 
Flowchart 


//-----------------------------------------------------------------------------------------------------------------------------
code


4. Bubble Sort
Flowchart

//--------------------------------------------------------------------------------------------------------
code

//---------------------------------------------------------------------------------------------------
5 Quick sort 
Flowchart

//----------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------------

No comments:

Post a Comment