Contents
Sorting In Hindi
Sorting In Hindi – हेल्लो Engineers कैसे हो , उम्मीद है आप ठीक होगे और पढाई तो चंगा होगा आज जो शेयर करने वाले वो Data Structure के बारे में हैं
तो यदि आप जानना चाहते हैं की Sorting In Hindi के बारे में तो आप इस पोस्ट को पूरा पढ़ सकते हैं , और अगर समझ आ जाये तो अपने दोस्तों से शेयर कर सकते हैं
- पढ़े Stack ( Data Structure)के बारे में
- लिंक्ड लिस्ट की जानकारी हिंदी में
- Binary Tree, Types, Traversal हिंदी
Sorting In Hindi
Sorting, Data Structure की वह process हैं जिसमे हम data को एक logical order में sort करते हैं यह logical order ascending order भी हो सकता है या descending order भी हो सकता है.
Types Of Sorting In Hindi
- Selection Sort
- Merge Sort
- Bubble Sort
- Insertion Sort
Selection Sort In Hindi
Selection Sort में किसी एक Number को select किया जाता हैं तथा बाकि सभी Element से Compare किया जाता हैं और Sort किया जाता हैं
माना की Array में n elements A[1], A[2], A[3]……….A[n] Memory में हैं, Sorting के लिए selection sort Algorithm में
सर्वप्रथम लिस्ट के सबसे छोटे elements को find करते हैं और उसे प्रथम स्थान पर रखते हैं
उसके बाद दूसरा सबसे छोटा elements list में find करते हैं और उसे दूसरे स्थान पर रखते हैं इसी तरह सभी elements को compare करके sort करते हैं
How Selection Sort Works?
Consider the following depicted array as an example.
For the first position in the sorted list, the whole list is scanned sequentially. The first position where 14 is stored presently, we search the whole list and find that 10 is the lowest value.
So we replace 14 with 10. After one iteration 10, which happens to be the minimum value in the list, appears in the first position of the sorted list.
For the second position, where 33 is residing, we start scanning the rest of the list in a linear manner.
We find that 14 is the second lowest value in the list and it should appear at the second place. We swap these values.
After two iterations, two least values are positioned at the beginning in a sorted manner.
The same process is applied to the rest of the items in the array.
Following is a pictorial depiction of the entire sorting process −
All Images Source:- Tutorials Point
Merge Sort In Hindi
इस प्रकार के Sorting में सभी elements को अलग – अलग करते हैं अर्थात पुरे element को दो भागों में Divide करते हैं और इसे तब तक divide करते हैं जब तक प्रत्येक Elements Individual ना हो जाये

Bubble Sort In Hindi
bubble sort एक बहुत ही Easy sorting Technique है, Bubble Sort में शुरू की दो elements को compare किया जाता है यदि left वाला एलिमेंट right वाले एलिमेंट से बड़ा है तो वे अपने स्थान को एक दूसरे से Chnage कर लेंगे और ये comparison तब तक चलता हैं जब तक हमारा सारा elements sort नहीं हो जाता।

Insertion Sort In Hindi
Insertion Sorting भी एक easy sorting technique है, Insertion Sorting Technique का use छोटे छोटे
data sets के लिए सबसे अच्छा sorting technique हैं परन्तु यह बड़े data sets के लिए उपयुक्त नहीं है.
इस Technique में हम एक element को pick करते है और उसे उसके appropriate स्थान पर insert कर देते है अर्थात insertion sorting technique में पहले के दो elements को compare करते हैं अगर वो Unsorted होते हैं तो उसे sort कर दिया जाता है

Conclusion
दोस्तों इस पोस्ट को पूरा पढने के बाद आप तो ये समझ गये होंगे की Sorting In Hindi
और आपको जरुर पसंद आई होगी , मैं हमेशा यही कोशिस करता हु की आपको सरल भासा में समझा सकू , शायद आप इसे समझ गये होंगे इस पोस्ट में मैंने सभी Topics को Cover किया हूँ ताकि आपको किसी और पोस्ट को पढने की जरूरत ना हो , यदि इस पोस्ट से आपकी हेल्प हुई होगी तो अपने दोस्तों से शेयर कर सकते हैं