Posts

Showing posts from November, 2025

Core Java Coding Interview Questions

Core Java Coding Interview Questions 1. String Coding Reverse a string without using built-in reverse(). Check if a string is a palindrome. Count the number of vowels and consonants in a string. Count occurrences of each character in a string. Find the first non-repeated character in a string. Remove duplicate characters from a string. Reverse each word in a sentence. Check if two strings are anagrams. Extract only digits from a string. Find the maximum occurring character in a string. 2. Array Coding Find the largest and smallest element in an array. Reverse an array. Check if an array is sorted or not. Find duplicate elements in an array. Remove duplicates from an array. Find second largest element. Find missing number in array 1 to N. Move all zeros to the end of array. Find pair of numbers whose sum is a given value. Merge two sorted arrays. 3. Number Programs Check if a number is prime. Check if a number i...