Coding Interview in Java
Coding Challenges and Solutions (Java, Part 2)
View the Project on GitHub
arskov/java-alg-2
Coding Challenges and Solutions (Java, Part 2)
Merge Strings Alternately
Greatest Common Divisor of Strings
Kids With the Greatest Number of Candies
Can Place Flowers
Reverse Vowels of a String
Reverse Words in a String
Product of Array Except Self
Increasing Triplet Subsequence
String Compression
Move Zeroes
Is Subsequence
Container With Most Water
Max Number of K-Sum Pairs
Maximum Average Subarray I
Maximum Number of Vowels in a Substring of Given Length
Max Consecutive Ones III
Longest Subarray of 1’s After Deleting One Element
Find the Highest Altitude
Find Pivot Index
Find the Difference of Two Arrays
Unique Number of Occurrences
Determine if Two Strings Are Close
Equal Row and Column Pairs
Removing Stars From a String
Asteroid Collision
Decode String
Number of Recent Calls
Dota2 Senate
Delete the Middle Node of a Linked List
Odd Even Linked List
Reverse Linked List
Maximum Twin Sum of a Linked List
Maximum Depth of Binary Tree
Leaf-Similar Trees
Count Good Nodes in Binary Tree
Path Sum III
Longest ZigZag Path in a Binary Tree
Lowest Common Ancestor of a Binary Tree
Binary Tree Right Side View
Maximum Level Sum of a Binary Tree
Search in a Binary Search Tree
Delete Node in a BST
Keys and Rooms
Number of Provinces
Reorder Routes to Make All Paths Lead to the City Zero
Evaluate Division
Nearest Exit from Entrance in Maze
Rotting Oranges