- 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
- Subarray Sum Equals K
- Bitwise AND of Numbers Range
- LRU Cache
- Jump Game
- Longest Common Subsequence
- Maximal Square
- First Unique Number
- Binary Tree Maximum Path Sum
- Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree
- First Bad Version
- LeetCode 771: Jewels and Stones
- LeetCode 383: Ransom Note
- LeetCode 476: Number Complement
- LeetCode 387: First Unique Character in a String
- LeetCode 169: Majority Element
- LeetCode 993: Cousins in Binary Tree
- LeetCode 1232: Check If It Is a Straight Line
- LeetCode 367: Valid Perfect Square
- LeetCode 997: Find the Town Judge
- LeetCode 733: Flood Fill
- LeetCode 540: Single Element in a Sorted Array
- LeetCode 402: Remove K Digits
- LeetCode 208: Implement Trie
- LeetCode 918: Maximum Sum Circular Subarray
- LeetCode 328: Odd Even Linked List
- LeetCode 1447: Simplified Fractions
- LeetCode 438: Find All Anagrams in a String
- LeetCode 567: Permutation in String
- LeetCode 901: Online Stock Span
- LeetCode 230: Kth Smallest Element in a BST
- LeetCode 1277: Count Square Submatrices with All Ones
- LeetCode Problem 451: Sort Characters By Frequency
- LeetCode Problem 986: Interval List Intersections
- LeetCode Problem 46: Permutations
- LeetCode Problem 1456: Maximum Number of Vowels in a Substring of Given Length
- LeetCode Problem 1035: Uncrossed Lines
- LeetCode Problem 886: Possible Bipartition
- LeetCode Problem 338: Counting Bits
- LeetCode Problem 207: Course Schedule
- LeetCode Problem 973: K Closest Points to Origin
- LeetCode Problem 1460: Make Two Arrays Equal by Reversing Subarrays
- Problem 72: Edit Distance
- Problem 226: Invert Binary Tree
- Problem 237: Delete Node in a Linked List
- Problem 1029: Two City Scheduling
- LeetCode Problem 344: Reverse String
- LeetCode Problem 541: Reverse String II
- LeetCode Problem 557: Reverse Words in a String III
- LeetCode Problem 528: Random Pick with Weight
- LeetCode Problem 406: Queue Reconstruction by Height
- LeetCode Problem 518: Coin Change II
- LeetCode Problem 231: Power of Two
- LeetCode Problem 547: Number of Provinces
- LeetCode Problem 392: Is Subsequence
- LeetCode Problem 35: Search Insert Position
- LeetCode Problem 75: Sort Colors
- LeetCode Problem 380: Insert Delete GetRandom O(1)
- LeetCode Problem 1266: Minimum Time Visiting All Points
- LeetCode Problem 368: Largest Divisible Subset
- LeetCode Problem 787: Cheapest Flights Within K Stops
- LeetCode Problem 700: Search in a Binary Search Tree
- LeetCode Problem 468: Validate IP Address
- LeetCode Problem 130: Surrounded Regions
- LeetCode Problem 275: H-Index II
- LeetCode Problem 1044: Longest Duplicate Substring
- LeetCode Problem 60: Permutation Sequence
- LeetCode Problem 174: Dungeon Game
- LeetCode Problem 222: Count Complete Tree Nodes
- LeetCode Problem 91: Decode Ways
- LeetCode Problem 96: Unique Binary Search Trees
- LeetCode Problem 287 – Find the Duplicate Number
- LeetCode Problem 129 – Sum Root to Leaf Numbers
- LeetCode Problem 279 – Perfect Squares
- LeetCode Problem 62: Unique Paths
- LeetCode Problem 212: Word Search II
- LeetCode Problem 414: Third Maximum Number
- LeetCode Problem 441: Arranging Coins
- LeetCode Problem 306: Additive Number
- LeetCode Problem 107: Binary Tree Level Order Traversal II
- LeetCode Problem 957: Prison Cells After N Days
- LeetCode Problem 264: Ugly Number II
- LeetCode Problem 461: Hamming Distance
- LeetCode Problem 66: Plus One
- LeetCode Problem 463: Island Perimeter
- LeetCode Problem 15: 3Sum
- LeetCode Problem 662: Maximum Width of Binary Tree
- LeetCode Problem 430: Flatten a Multilevel Doubly Linked List
- LeetCode Problem 78: Subsets
- LeetCode Problem 5: Longest Palindromic Substring
- LeetCode Problem 190: Reverse Bits
- LeetCode Problem 100: Same Tree
- LeetCode Problem 1344: Angle Between Hands of a Clock
- Problem: Reverse Words in a String (LeetCode 151)
- LeetCode Problem 50: Pow(x, n)
- Problem 347: Top K Frequent Elements
- Problem 395: Longest Substring with At Least K Repeating Characters
- Problem 210: Course Schedule II
- Problem 67: Add Binary
- Problem 203: Remove Linked List Elements
- Problem 79: Word Search
- Problem 103: Binary Tree Zigzag Level Order Traversal
- Problem 260: Single Number III
- Problem 797: All Paths From Source to Target
- Problem 153: Find Minimum in Rotated Sorted Array
- Problem 154: Find Minimum in Rotated Sorted Array II
- Problem 258: Add Digits
- Problem 25: Reverse Nodes in k-Group
- Problem 258: Add Digits
- Problem 621: Task Scheduler
- Problem 309: Best Time to Buy and Sell Stock with Cooldown
- Problem 140: Word Break II
- Problem 70: Climbing Stairs
- Problem 520: Detect Capital
- Problem 705: Design HashSet
- Problem 125: Valid Palindrome
- LeetCode 342: Power of Four
- LeetCode 974: Subarrays Divisible by K
- LeetCode 211 — Design Add and Search Words Data Structure
- LeetCode 442 — Find All Duplicates in an Array
- LeetCode 987 — Vertical Order Traversal of a Binary Tree
- LeetCode 437 — Path Sum III
- LeetCode 994 — Rotting Oranges
- LeetCode 171 — Excel Sheet Column Number
- LeetCode 274 — H-Index
- LeetCode 119 — Pascal’s Triangle II
- LeetCode 1286 — Iterator for Combination
- LeetCode 409 — Longest Palindrome
- LeetCode 435 — Non-Overlapping Intervals
- LeetCode 123 — Best Time to Buy and Sell Stock III
- LeetCode 1203 — Sort Items by Groups Respecting Dependencies
- LeetCode 1103 — Distribute Candies to People
- LeetCode 967 — Numbers With Same Consecutive Differences
- LeetCode 824 — Goat Latin
- LeetCode 143 — Reorder List
- LeetCode 905 — Sort Array By Parity
- LeetCode 497 — Random Point in Non-overlapping Rectangles
- LeetCode 1032 — Stream of Characters
- LeetCode 404 — Sum of Left Leaves
- LeetCode 983 — Minimum Cost For Tickets
- LeetCode 412 — Fizz Buzz
- LeetCode 436 — Find Right Interval
- LeetCode 470 — Implement Rand10() Using Rand7()
- LeetCode 969 — Pancake Sorting
- LeetCode 952 — Largest Component Size by Common Factor
- LeetCode 949 — Largest Time for Given Digits
- LeetCode 220 — Contains Duplicate III
- LeetCode 459 — Repeated Substring Pattern
- LeetCode 763 — Partition Labels
- LeetCode 1305 — All Elements in Two Binary Search Trees
- LeetCode 1572 — Matrix Diagonal Sum
- LeetCode 835 — Image Overlap
- LeetCode 290 — Word Pattern
- Sum of Root to Leaf Binary Numbers
- Maximum Product Subarray
- Combination Sum III
- LeetCode Problem 57 – Insert Interval
- LeetCode Problem 198 – House Robber
- Length of Last Word
- Sequential Digits
- LeetCode Problem 134 – Gas Station
- LeetCode Problem 389 Find the Difference
- LeetCode Problem 41 First Missing Positive
- LeetCode Problem 189 Rotate Array
- LeetCode Problem 74 Search a 2D Matrix
- LeetCode Problem 228 Summary Ranges
- LeetCode Problem 849 Maximize Distance to Closest Person
- Number of Longest Increasing Subsequence
- Convert Binary Number in a Linked List to Integer
- LeetCode Problem 147 Insertion Sort List
- LeetCode Problem 1446 Consecutive Characters
- LeetCode Problem 310 Minimum Height Trees
- Minimum Cost to Move Chips to the Same Position
- Find the Smallest Divisor Given a Threshold
- LeetCode Problem 563 Binary Tree Tilt
- LeetCode Problem 832 Flipping an Image
- LeetCode Problem 593 Valid Square
- LeetCode Problem 56 Merge Intervals
- LeetCode Problem 394 Decode String
- LeetCode Problem 81 Search in Rotated Sorted Array II
- Check Array Formation Through Concatenation
- Find a Corresponding Node of a Binary Tree in a Clone of That Tree
- Beautiful Arrangement
- Merge Two Sorted Lists
- Remove Duplicates from Sorted List II
- LeetCode Problem 881 Boats to Save People
- Largest Rectangle in Histogram
- LeetCode Problem 706 Design HashMap
- Palindrome Linked List
- Running Sum of 1D Array
- Non-decreasing Array
- LeetCode Problem 665 Non-decreasing Array
- Binary Tree Level Order Traversal
- Partitioning Into Minimum Number of Deci-Binary Numbers
- Maximum Product of Word Lengths
- Max Area of Island
- Longest Consecutive Sequence
- Partition Array into Disjoint Intervals
- Binary Tree Pruning
- LeetCode Problem 126 Word Ladder II
- Build Array from Permutation
- Concatenation of Array
- LeetCode Problem 1306 Jump Game III
- Range Sum of BST
- Pairs of Songs With Total Durations Divisible by 60
- Insert into a Binary Search Tree
- Merge k Sorted Lists
- LeetCode 2: Add Two Numbers
- LeetCode 3: Longest Substring Without Repeating Characters
- LeetCode 4: Median of Two Sorted Arrays
- LeetCode 818 — Race Car
- Android Unlock Patterns
- LeetCode 112 — Path Sum
- LeetCode 22 — Generate Parentheses
- LeetCode 981 — Time Based Key-Value Store
- LeetCode 16 — 3Sum Closest
- LeetCode 653 — Two Sum IV: Input is a BST
- LeetCode 16 — 3Sum Closest
- LeetCode 843 — Guess the Word
- LeetCode 98 — Validate Binary Search Tree
- LeetCode 899 — Orderly Queue
- LeetCode 646 — Maximum Length of Pair Chain
- LeetCode 300 — Longest Increasing Subsequence
- LeetCode 827 — Making A Large Island
- LeetCode 2140 — Solving Questions With Brainpower
- LeetCode 2873 — Maximum Value of an Ordered Triplet I
- LeetCode 1123 — Lowest Common Ancestor of Deepest Leaves
- LeetCode 1863 — Sum of All Subset XOR Totals
- LeetCode 38 — Count and Say
- LeetCode 781 — Rabbits in Forest
- LeetCode 2145 — Count the Hidden Sequences
- LeetCode 2444 — Count Subarrays With Fixed Bounds
- LeetCode 416 — Partition Equal Subset Sum
- LeetCode 3396 — Minimum Number of Operations to Make Elements in Array Distinct
- LeetCode 3375 — Minimum Operations to Make Array Values Equal to K
