Anushka Joshiloops.hashnode.dev·19 hours agoMerge SortMerge sort is a sorting method that uses the divide-and-conquer strategy. It works by splitting the input array into smaller subarrays, sorting those subarrays, and then merging them back together to get the sorted array. Simply put, merge sort divid...DiscussIntroduction to Data structures and algorithms2Articles1Week
Anushka Joshiloops.hashnode.dev·May 13, 2024Insertion SortInserInsertion sort is a basic sorting method where you place each item from an unsorted list into its proper position in a sorted section of the list. It's a stable sorting method, ensuring that items with the same values stay in their original orde...DiscussIntroduction to Data structures and algorithms2Articles1Week
Anushka Joshiloops.hashnode.dev·May 12, 2024Bubble SortBubble sort is a basic sorting method. It works by comparing pairs of neighboring elements and swapping them if they are not in the correct order. This method is not efficient for sorting large amounts of data because its average and worst-case compl...DiscussIntroduction to Data structures and algorithms2Articles1Week
Anushka Joshiloops.hashnode.dev·May 11, 2024Selection SortSelection sort is considered one of the fundamental sorting algorithms due to its simplicity and effectiveness. The way it operates is by iteratively identifying the smallest (or largest) element from the unsorted section of the list and relocating i...DiscussIntroduction to Data structures and algorithms2Articles1Week
Anushka Joshiloops.hashnode.dev·May 7, 2024Sorting AlgorithmA Sorting Algorithm plays a crucial role in computer science by organizing elements in an array or list based on a specified comparison operator. This operator determines the criteria for rearranging the elements within the data structure, creating a...DiscussIntroduction to Data structures and algorithms2Articles1Week
YASHforData Structures and Algorithmsdsawithyash.hashnode.dev·May 3, 2024Understanding Bubble Sort: A Step-by-Step ExplanationBubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order. The pass through the list is repeated until the list is sorted. Imagine you have a row of num...Discusssorting algorithms
Tanuja Vtanujav.hashnode.dev·May 2, 2024Bubble Sort in Java (With Intuition + Dry run + Code)Introduction : Sorting is the process of arranging items systematically, usually in ascending or descending order, based on some criterion. It's a fundamental concept in computer science and mathematics, as well as in everyday life. Why Sorting? Sort...Discuss·6 likesbubble sort
Hitendra Kumar Dewanganhided.hashnode.dev·Mar 2, 2024Navigating DSA: My Journey from February 2024February 2024 marked the kick-off of my Data Structures and Algorithms (DSA) journey – a dive into the intricate world of coding and problem-solving. I want to share a bit of the ride so far, with the completion of Binary Search and sorting methods i...DiscussDSA
Zack Langzacklang.hashnode.dev·Feb 19, 2024Selection Sort in Go: Beyond the BasicsSorting is fundamental to many operations in computer science. When it comes to sorting algorithms, there are many algorithms to choose from. While Selection sort may not boast top-tier efficiency, performance isn’t always a top-tier priority either....Discuss·30 readsmaster golang
Abou Zuhayrblog.zuhayr.codes·Feb 19, 2024WTF is Insertion Sort?Alright, gear up for another trip down the algorithm alley, where we swap out our old-school bubble sort hat for something a tad more sophisticated—yet still charmingly simple. Welcome to the world of insertion sort, the sorting algorithm that’s a bi...DiscussWhy DSAsorting algorithms