
Bubble Sort (Bubble) Algorithm is a comparison-based algorithm. Work operates on the principle of comparing each element in the list with its adjacent element, and if the value of the first element is greater than that of the second, the two elements place are swapped. Subsequently, the values of the second and third elements are compared; if the second element is greater than the third, these two elements are also swapped. This process continues until the entire array is fully processed.Working
ENBeyza Nur Türkü
BiBinary Search is a search algorithm used to find the position of an element in a sorted array. In this approach, the element is searched at the midpoint of a segment of the array.Binary search can only be applied to a sorted list of elements. If the elements are not already sorted, they must be sorted first.Working PrincipleThe Binary Search algorithm can be implemented in two ways.Recursive ApproachIterative ApproachAlthough the recursive approach adopts the divide and conquer logic, both metho
ENBeyza Nur Türkü