https://github.com/sandeepkushwaha/java-interviews-questions
Core Java Interview Questions and solutions
https://github.com/sandeepkushwaha/java-interviews-questions
java java-interview-questions java-questions
Last synced: 3 months ago
JSON representation
Core Java Interview Questions and solutions
- Host: GitHub
- URL: https://github.com/sandeepkushwaha/java-interviews-questions
- Owner: SandeepKushwaha
- Created: 2024-09-27T05:26:29.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T05:37:44.000Z (7 months ago)
- Last Synced: 2025-01-12T18:38:44.977Z (4 months ago)
- Topics: java, java-interview-questions, java-questions
- Language: Java
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Coding Interview Questions in Java.
If you’re interviewing for a Java programming role,
then your coding skills will probably be tested.
Whether you’re a beginner in Java or an expert programmer,
this repository provides some common Java interview questions and answers to help you prepare.### List of Content
1. [Second largest element in an array.](src/array/SecondLargest.java)
2. [Count Character Occurrence in String.](src/string/CharacterOccurrenceCounter.java)
3. [Reverse String of given input.](src/string/ReverseString.java)
4. [Swap numbers without third input.](src/math/SwapNumbers.java)
5. [is Vowel present in String.](src/string/VowelInString.java)
6. [Check number is prime or not in given number.](src/math/PrimeNumber.java)
7. [Fibonacci number sequence using recursion](src/math/FibonacciSequence.java)
8. [How do you check if a list of integers contains only odd numbers in Java?](src/list/CheckOnlyOddNumbers.java)
9. [Is Given String a palindrome or not?](/src/string/CheckPalindromeString.java)
10. [Remove white space form String](/src/string/RemoveWhiteSpace.java)
11. [Deadlock Scenario in Java](/src/thread/Deadlock.java)
12. [Factorial of a number in Java](/src/math/Factorial.java)
13. [Reverse a List in Java](/src/list/ReverseList.java)
14. [Print all the prime numbers between 1 to n.](/src/math/PrintPrimeNumbers.java)
15. [Find the nth term of the Fibonacci series.](/src/math/NthFibonacciTerm.java)
16. [Reverse a Linked List in Java](/src/list/ReverseLinkedList.java)
17. [Find the sum of all the elements of a given array.](/src/array/SumOfArray.java)
18. [Binary Search in Java](/src/array/BinarySearch.java)
19. [Pyramid Patterns in Java](src/pattern/PyramidPatterns.java)
20. [Checks if two arrays contain the same elements.](src/array/CompareTwoArray.java)
21. [Shuffle an array in Java](src/array/ShuffleArray.java)
22. [Find Input String in the File.](src/file/FindInputString.java)
23. [Date Formatter in Java](src/date/DateFormatter.java)
24. [Decode a String in Java](src/string/DecodeString.java)
25. [Reverse Words In A String](src/string/ReverseWordsInString.java)
26. [Valid Parenthesis](src/string/ValidParenthesis.java)
27. [Remove White Spaces from String](src/string/RemoveWhiteSpacesFromString.java)
28. [Sort the elements in the given array](src/array/SortElements.java)
29. [Sort the array in descending order](src/array/DescendingOrder.java)
30. [Sort the array using Merge Sort](src/array/MergeSort.java)
31. [Sort the String in given String](src/string/SortString.java)[//]: # (25. [Find the longest common prefix in an array of strings.](src/string/LongestCommonPrefix.java))
[//]: # (19. [Partition in Java](/src/array/Partition.java))