# Array

- 16 September
### Java program to find missing number in an array

If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. This is one of basic coding interview question asked in my interviews. Problem : You are given an integer array containing 1 to n but one of the number from 1 to n in the array […]

- 24 September
### Java program to find second largest number in an array

If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. In this post, we will see how to find the second largest number in an array. Problem : Given an unsorted array, you need to find the second largest element in the array in o(n) time […]

- 25 October
### Java Program to Find Smallest and Largest Element in an Array

If you want to practice data structure and algorithm programs, you can go through 100+ java coding interview questions. In this post, we will see how to find smallest and largest element in an array. Problem: You are given an array of numbers. You need to find smallest and largest numbers in the array. Solution: Initialise […]

- 08 July
### Binary search in java

If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. In this post, we will see how to perform binary search in java using divide and conquer method.When you want to find a value in sorted array, we use binary search and we will also see […]