Sunday, June 11, 2017

18 Array java coding interview questions

1) How to find the missing number in integer array of 1 to 100?

2) How to find first non-repeating element in array of integers?

3) How do you compare two arrays in java?

4) How do you sort the array elements?


5) How to find duplicate number on Integer array in Java?

6) How to find largest and smallest number in unsorted array?

7) How to find repeated numbers in an array if it contains multiple duplicate?

8) Write a program to remove duplicates from array in Java?

9) Write a program to find intersection of two sorted array in Java?

10) How to find kth smallest element in unsorted array?

11) How to find kth largest element in unsorted array?

12) How find the first repeating element in an array of integers?

13) How to check if array contains a number in Java?

14) How to find top two numbers from an integer array?

15) How to remove a given element from array in Java? (

16) How to remove duplicates from array in place?

17) How to merge two arrays in java?

18) How to reverse array in place in Java?

No comments:

Post a Comment

Popular Posts