There are a lot of computer science graduates and programmers applying for programming, coding, and software development roles, I remember as a fresher I always struggled to clear the technical round because I used to get nervous about the questions an interviewer can ask due to lack of practice. So here is the list of top 25 java programs that can help you practice and most of them are generally asked in an Interview.
They are simple, but yet they give a good indication of the coding skill of prospective candidates. They are usually preferred by many companies because it often requires 10 to 20 minutes to write the solution and discuss them.
In the repo above you will find the following programes:-
- Fibonacci series
- A prime number
- String Palindrome
- Integer Palindrome
- Armstrong number
- Avoiding deadlock in Java
- Factorial
- Reverse a String
- Find the missing integer
- The first non-repeated character of String
- Patterns of various kinds
- Find the minimum and maximum element in an array
- Find the occurrence of an integer in the array
- Find the occurrence of an character in the array
- Move all the negative elements to one side of the array
- Jaro Distance
- String Anagram
- Remove duplicates from an array
- The square root of a number
- Leap year
- Find the factorial of a large number
- Count Pairs with given sum
- Finding the length of Array
- Finding the Sum of first 100 integers(1-100)
- Find all pairs of an integer array whose sum is equal to a given number.