Data structure and algorithm par maine phale bhi Ek post likhi thi jisme humne algorithm ke baare me jaana tha, Ab hum sorting ke baare me janege, sorting kya hoti hai and sorting kitne type ki hoti hai. usse phale jo log computer se related hai wo thoda jayada understand karege is topic ko kuki ye thoda programming se related hai or mere BCA ke syllabus me bhi main kosis karuga ache se smjane ki “what is sorting algorithm in data structure in Hindi full explain”

What is sorting algorithm in data structure in Hindi full explain

What is sorting algorithm in hindi

Jaisa ki name se hi pata chal raha hai sorting, to Algorithm and data structure me sorting Ek ase process hai jiki help se data ko ya data item ko sort ya arrange kiya jata hai ascending or descending order me.(a sorting algorithm is an algorithm that puts elements of a specific order in a list)

example of sorting :- Aapke phone me jo phone number hai wo Ek acha example hai sorting ko understand karne ke liye, apne phone book me aap dekho ge to atoz arrangement hota hai aap unko change bhi kar sakte ho like z to a and wo setting pe depend karta hai. so kahne ka matlab ye hai ki EK sorting wo hoti hai jo data ko logical order me arrange karti hai or ye order kisi bhi type ka ho sakta hai.

types of sorting algorithm in Hindi

  • Quick Sort
  • Bucket sort
  • Bubble sort
  • Insertion sort    
  • Selection sort
  • Heap sort
  • Merge sort

Quick sort algorithm in hindi

What is sorting algorithm in data structure in Hindi full explain 1
quick sort working

 

Iss sorting algorithm me (array list)list se koi element select kiya jata hai is called pivot and baad me pivot se small element iske left side rahege, or pivot se big element iski right side rahege.

Bucket sort algorithm in hindi

What is sorting algorithm in data structure in Hindi full explain 2
bucket sort working

Iss algorithm method me array se elements ko select kiya jata hai or distribute kar diya jata hai bucket me, every bucket ko alag alag kar diya jata hai is sorting algorithm se.

Bubble sort algorithm in hindi  

What is sorting algorithm in data structure in Hindi full explain 3
bubble sort working

it’s a very easy sorting technique isme starting ke two element ko compare kiya jata hai, agar left wala element right wale element se big hota hai to wo Apna place change kar lete hai right wala left me and left wala right me.

Insertion sort algorithm in hindi

Iss method me EK element ko pick kiya jata hai and usse appropriate place par insert kiya jata hai, this sorting not a high sorting algorithm Kuki yah Loops ka use elements ko apne place me sift karne me karti hai, agar humare paas “n” element hai to hume sort karne ke liye (n-1) pass ki need hai.

Selection sort algorithm in hindi

What is sorting algorithm in data structure in Hindi full explain 4
selection sort working

Iss sort algorithm me first array ke small element ko select kiya jata hai and select kiye hue element ko array me first element se change kiya jata hai. iss type se ye process chalti rahti hai select kiye hue element ko array ke second element se change kar diya jata hai.

Heap sort algorithm in hindi

What is sorting algorithm in data structure in Hindi full explain 5
heap sorting

heap sort Ek complete binary tree hota hai it means tree ke line bhare hue hoti hai, yaha jo bhi node hia unme jo value rakhi jati hai wo apne two children se big yaa equal hogi is called max heap.

merge sort algorithm in hindi

What is sorting algorithm in data structure in Hindi full explain 6
merge sort working

Iss method me divide and conquer technique ka use hota hai, yaha Ek asa method hai jisme data ki Ek complex list ko sub list me divide kar diya jata hai. and list ko divide karke EK element left hota hai to after in sub list ko sort karke combine kar diya jata hai.

 

see also :

share with your friends

LEAVE A REPLY

Please enter your comment!
Please enter your name here

thirteen + 18 =