Skip to main content

Posts

Bubble Sort [ Data Structures ]

Bubble sort is a technique to arrange the elements in particular sequence or manner. It depends on the choice either you love to arrange data in [Ascending/Descending] order. You just need to change the small logic for getting data in ascending order or descending as we done in our tutorial video below.

Binary search [Data structures]

Binary search is another technique of searching element/item/data in a list or array. In this technique it is mandatory that our given list or array should already be in a sorted manner(Ascending). Otherwise , this algorithm is failed at this situation. It follows divide and conquer approach.

Linear search [Data structures]

Linear search is a technique of searching elements in a list or array. As this name suggest linear, means a sequential searching in this we start searching our desired data/element from the start or initial stage of the list and this searching operation has been stopped at the end of the given list even our element is already found in between of the list it is a disadvantage of this technique but it deals with a unordered or unsorted list.