Every topic starts at New. Sign in and your practice counts.
In computational thinking, standard algorithms are fundamental methods used to solve common problems. Understanding these algorithms helps to develop problem-solving skills and provides a foundation for more complex programming tasks. Following are some standard algorithms:
These algorithms are used to arrange data in a specific order (ascending or descending)
Bubble Sort: Repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order.
Selection Sort: Divides the list into a sorted and an unsorted part, and repeatedly selects the smallest (or largest) element from the unsorted part to move to the sorted part.
Merge Sort: Divides the list into halves, recursively sorts each half, and then merges the sorted halves.
Insertion Sort: An in-place sorting algorithm that
This figure is being prepared.
Sorting Algorithms
builds the final sorted array one element at a time, shifting elements greater than the current element to the right.
Linear Search: A searching algorithm that sequentially checks each element in a list until the target element is found or the end of the list is reached.
Binary Search: A searching algorithm that works on sorted arrays by repeatedly dividing the search interval in half. It efficiently finds the position of a target value within the array.