- Java program to find first even integer in list of numbers
- Count duplicate elements in ArrayList in Java
- Remove a key value pair from HashMap while Iterating over it
- Convert Iterator to Stream in Java
- Convert Iterable to Stream in Java
- Java program to print the sum of all elements of an array
- Comparing Arrays for equality in Java
- Java program to find duplicate characters in a String
- Compare two HashMap in Java
- Java program to convert String to boolean
- Write a java program to find common elements between two arrays?
- Java program to check whether an alphabet is vowel or consonant
- Java program to get sum of all digits of a number in Java
- Write a Java program to demonstrate deadlock
- Remove white spaces from String in Java
- Write Java program to print Fibonacci series
- How to remove duplicates from ArrayList?
- Java Program to swap two numbers without using a third variable(method 1).
- Java Program to find second largest number in Array
- Java program to reverse a string without String class’s reverse() function.
- Java program to reverse an array
- Java program to check if two strings are anagram
- Java Program to Check if a String is Palindrome
- Java Program to Reverse a Number
- Java program to separate odd and even numbers in a list of integers
- Find the frequency of each character in a string using Java 8 streams
- Find the frequency of each element in an array or a list
- Sort a given list of decimals in reverse order in java 8
- Java program to print the numbers from a given list of integers that are multiples of 5
- Java 8 program to find the maximum and minimum of a list of integers
- Merge two unsorted arrays into a single sorted array using Java 8 streams
- Java program to find the second largest number in an integer array
- Java program to sort a list of strings according to the increasing order of their length
- Java program to find the common elements between two arrays
- Java Program reverse each word in a String
- Java Program to find the most repeated element in an array
- Java program to filter Strings that start with a number
- Java program to find duplicate elements in an array
- Java program to find duplicate characters in a String
- Java Program to find the first repeated character in a String
- Java program to find the first non-repeated character in a string
- Java program to calculate the age of a person in years given their birthday
Stream programming questions
- Java Stream program to find all even numbers from a list
- Java Stream program to convert a list of strings to uppercase
- Java Stream program to find the sum of all numbers in a list
- Java Stream program to find the maximum number in a list
- Java Stream program to find the minimum number in a list
- Java Stream program to count Strings Starting with a Specific Letter
- Java Stream program to Remove Duplicate Elements from a List
- Sort a List in Ascending Order
- Sort a List in Descending Order
- Find the First Element of a List
- Check if Any Element Matches a Condition
- Check if All Elements Match a Condition
- Check if No Elements Match a Condition
- Join a List of Strings into a Comma-Separated String
- Find the Average of a List of Numbers
- Sum a List of Numbers
- Flatten a List of Lists
- Filter a List of Strings Based on Length
- Generate Random Numbers
- Partition a List into Even and Odd Numbers
- Finding the Second-Largest Number in a List Using Java Streams
- Count the Frequency of Each Element in a List
- Find the Longest String in a List
- Find the Shortest String in a List
- Sort a List of Objects by a Field
- Sort a List of Objects by Multiple Fields
- Merge Two Lists Using Streams
- Remove Duplicates from a List by Field in Java
- Count Words in a String Using Java Streams
- Reverse a List in Java
- Create an Infinite Stream and Limit Output in Java
- Count Word Frequency in a Paragraph Using Java Streams
- Find the Oldest Person in a List Using Java Streams
- Group Employees by Department Using Java Streams
- Group Employees by Department and Count Using Java Streams
- Find Duplicate Elements in a List Using Java Streams
- Find Element with Maximum Frequency in a List Using Java Streams
- Get the Last Element of a List in Java
- Check if a List is Sorted in Java
- Convert a List of Integers to a Comma-Separated String in Java
- Get Prime Numbers from a List Using Java Streams
- Generate Fibonacci Numbers Using Java Streams
- Find Maximum Element Using reduce() in Java
- Sort a Map by Values Using Java Streams
- Find Intersection of Two Lists Using Java Streams
- Find Union of Two Lists Using Java Streams
- Find Difference Between Two Lists Using Java Streams
- Create a Map of Department to Highest-Paid Employee Using Streams
Leetcode questions
- Merge Sorted Array
- Merge Two Sorted Lists in Java
- Rearrange Sorted Array in Max/Min Form
- Two Sum Problem
- Container with most water problem
- Maximum Subarray
- Decode ways
- Symmetric Tree
- Best time to buy and sell stock
- Clone Graph
- Happy Number
- Move Zeroes
- Group anagrams
- Counting Elements
- Middle of the Linked List
- Backspace String Compare
- Min Stack
- Diameter of Binary Tree
- Last Stone Weight
- Contiguous Array
- Product of Array Except Self
- Valid Parenthesis String
- Number of Islands
- Minimum Path Sum
- Search in Rotated Sorted Array
- Leftmost Column with at Least a One