Summary
Keywords
Full Transcript
The sorting algorithm is an algorithm that puts elements of a list into order. In this tutorial, Vamsi walks you through the basics of sorting algorithms in data structures and algorithms. Join our FREE masterclass now: https://bit.ly/3lnbUoi What is Sorting Algorithm? A Sorting Algorithm is used to rearrange a given array or list elements according to a comparison operator on the elements. The comparison operator is used to decide the new order of elements in the respective data structure. The most frequently used orders are numerical order and lexicographical order, and either ascending or descending. Efficient sorting is important for optimising the efficiency of other algorithms that require input data to be in sorted lists. Sorting is also often useful for processing data and for producing human-readable output. The following topics are covered in this video: 0:00 - Introduction 1:00 - Bubble sort 14:15 - Merge sort 23:50 - Code of merge sort 28:55 - Void merge ---------------------------------------- About Scaler -------------------------------------------------- We are a tech-focused upskilling and reskilling platform catering to tech enthusiasts in universities and working professionals. There are more Scaler graduates working at Amazon than all of the IITs combined! Learn more about Scaler: https://bit.ly/3xBDYZO 📌 Follow us on Social and be a part of an amazing tech community📌 👉 Meet like-minded coder folks on Discord - https://discord.com/invite/ejFeksEtTq 👉 Tweets you cannot afford to miss out on - https://twitter.com/scaler_official 👉 Check out student success stories, expert opinions, and live classes on Linkedin - https://www.linkedin.com/school/scalerofficial 👉 Explore value packed reels, carousels and get access to exclusive updates on Instagram - https://www.instagram.com/scaler_official/ 📢 Be a part of our one of a kind telegram community: https://t.me/Scalercommunity 🔔 Hit that bell icon to get notified of all our new videos 🔔 If you liked this video, please don't forget to like and comment. Never miss out on our exclusive videos to help boost your coding career! Subscribe to Scaler now! https://www.youtube.com/Scaler?sub_confirmation=1 #sorting #sortingalgorithms #algorithms #codinginterview
