Raj 17 November 2018

In this article we are going to learn about Linear Search Algorithm. First we will know What is Linear search algorithm, its definition and a simple example of linear search. Then we will see the Pseudocode for linear search algorithm and finally we will see a simple linear search algorithm program in java. Also, at the end I will specify the Worst, Average and Best Time complexity for the linear search algorithm.

Read More

Raj 17 November 2018

In this article we are going to learn about Binary Search Algorithm. First we will know What is Binary search algorithm, its definition and a simple example of Binary search. Then we will see the Pseudo code for Binary search algorithm and finally we will see a simple Binary search algorithm program in java. Also, at the end I will specify the Worst, Average and Best Time complexity for the Binary search algorithm.

Read More