Wednesday, August 11, 2021

Top interview programming questions: Arrays



**************************************************
Java Programs for programming and coding interview
**************************************************


1. Write a program to swap elements in given array



2. Write a program to find maximum element from given array



3. Write a program to reverse elements in given array



3. Linear search - Write a programe to search an element from Array



4. Find Numbers with Even Number of Digits



5. Binary Search - Write a programe to search an element from Array (O(log n) runtime complexity)



6. Two number Sum or Check for pair in an array with a given sum



No comments:

Post a Comment

How to install Java on EC2

***************************************** How to install Java on EC2 ***************************************** To be continued, In this post...

All Time Popular Post