Data Structure is a way to store and organize data so that it can be used efficiently. Data Structure such as Array, Pointer, Structure, Linked List, Stack, Queue, Graph, Searching, Sorting, Programs, etc.
Step 1: set i = 0
Step 2: if i > n , go to step 7 // n = max size of an array
Step 3: if arr[i] = item , go to step 6 // item = founding value
Step 4: i = i + 1;
Step 5: go to step 2
Step 6: Print Item Found at Location arr[i]
Step 7: Print Item not Found
Step 8: Exit
Step 1: Repeat steps 2 and 3 for i = 0 to n-1 // n, max size of an array
Step 2: Set j = 0 to n-1-i
Step 3: if Array[j] > Array[j+1]
swap Array[j] and Array[j+1]
temp = Array[j]
Array[j] = Array[j+1]
Array[j+1] = temp
Step 4: Exit