Summary
Keywords
Full Transcript
Sorting algorithms are pivotal functions that often reduce the complexity of a problem. In this tutorial we help you understand the sorting algorithms Bubble Sort and Selection Sort in detail along with examples. Join our FREE Masterclass now: https://bit.ly/3lUG29V 🔹 Introduction to Sorting Algorithms: 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. 🔹 Why are sorting algorithms important? And why are they consistently asked during coding interviews? Since sorting algorithms simplify the complexity of a problem in data structures, knowing about sorting algorithms and its applications are given importance at interviews. These algorithms have direct applications in searching algorithms, database algorithms, divide and conquer methods, data structure algorithms, and many more. - Bubble Sort Bubble Sort is one of the simplest sorting algorithms. It works by swapping adjacent elements sorted in the wrong order until sequenced in the correct required order. - Selection Sort In Selection Sort algorithm, the algorithm sorts an array by repeatedly finding the minimum element from the unsorted part and places it at the beginning of the sequence. The following topics are covered in this "Bubble Sort and Selection Sort" video 👇🏼 0:00 - Introduction to Bubble Sort 6:35 - Bubble Sort Pseudo Code 10:45 - Selection Sort 18:58 - Selection Sort Pseudo Code ---------------------------------------- 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/2XGFQCI 📌 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 memes, 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 #bubblesort #selectionsort
