Skip to content

Instantly share code, notes, and snippets.

View azhar9's full-sized avatar
๐Ÿ˜Ž
Turing Machine

Azhar Syed azhar9

๐Ÿ˜Ž
Turing Machine
View GitHub Profile
@azhar9
azhar9 / A.java
Created October 12, 2017 16:41
This is the code for LinearSearch
class A
{
public static void main(String[] args) {
//Array index starts from 0.
//Linear Search
int[] arr = new int[10];
for(int i=0;i<10;i++)