## Pangram : Check if a string has all the letters of alphabet

Problem: Check if a sentence is a pangram or check if a string has all the letters of alphabet. What is a pangram? A Pangram is a sentence which contains …

Problem: Check if a sentence is a pangram or check if a string has all the letters of alphabet. What is a pangram? A Pangram is a sentence which contains …

Problem: First repeating element in array. Given an array of integers, find the first repeating number in the array. Example: Input array, arr = Then first repeating number …

Problem: Check if a given number is a prime number in Java. This is college level program and asked in entry level interviews. I have added JUnits also along …

Problem: Find longest substring without repeating characters. This program is asked in programming interviews. Easy and elegant solution is expected. Ex: If the input string is “abcabcd” then the longest …

Problem: Find missing number in an array. Given an array of size n-1, populated with numbers from 1 to n. There are no duplicates in the array. Find the …

In this article we will see how to transpose a matrix in Java. This is an algebra problem and asked in entry level interviews. Transpose matrix is similar to rotating …

Problem: Rotate matrix by 90 degrees. In this article we will see how to rotate a matrix by 90 degrees to right. This program is asked in programming interviews. …

Problem: Find N largest numbers from 3 sorted arrays. Ex: Given 3 sorted arrays, { 3, 7, 10, 14, 19, 78, 78, 200 }, { 4, 7, 67, 116, …

Java-fries Copyright © 2018.