154 Problems
215 Problems
105 Problems
Minimum Sum Path
Graph Depth First Search
Merge k Sorted Linked Lists
Iteratively, find the Max Element in a Give Binary Tree
Print a Binary Tree Level by Level
Insert a Node at the Head in a Doubly Linked List
Find the Max Element in a Binary Tree Recursively
Implement the Depth First Search traversal Algorithm in a Grap
Implement Breadth First Search Traversal Algorithm in a Grap
Stock Market Oracle
Reverse Words with Punctuation
Implement a Least Recently Used (LRU) Cache
Binary Tree Subsets with Same Sum
Insert a Node at a specified position in a Linked List
Remove Duplicates from a List of Words
Implement the Djikstra Shortest Path Algorithm in a Graph
Recovering IPv4 Addresses
Balanced Braces
Count 1
s in a Binary Representation
Pascal's Triangle
Knapsack Algorithm
Merge Two Sorted Integer Arrays in Linear Time
Addition of Binary Strings
Reverse a Linked List in Pairs
Iterator of Binary Search Tree with Nodes Containing Integer Data
Find Needle in a Haystack
Day with Maximum Difference in Temperatures
Soccer Team with Minimum Difference in Goals
Path between Two Input Words in a Dictionary
Subset Summation with Number Constraint
Recursive Preorder Traversal
A million lines of code!
Tail N Number of Lines from an Input File
Recursive String Permutation
Horizontal Flip
BST Validation
Add Two Numbers without using Plus Sign
Word Similarity - Edit Distance
Find the k^{th} Smallest Node in a BST
Integer to Roman
Boggle with Electronic Dictionary
Add Two Linked List-ish Numbers
Even Split
Unique Chars in a String
Reverse a Singly Linked List
Mobile Game Range Module - Merging Ranges
Find the k^{th} Largest Node in a BST
Longest Consecutive Integers Set in an Array
Minimum Depth of a Tree
Multiplication of Arrays
Binary Tree Serialization
Find the Lowest Common Ancestor of Two Tree Nodes
Full Tree Decompression
Bit Conversion
Number of Full Nodes in a Binary Tree
Number of Half Nodes in a Binary Tree
Find the Maximum BST Node
The Deepest Node
Repeated Elements in an Array
Combinations and Permutations
Largest Square
First N Prime Numbers
Rotate an Array to the Right.
Print Paths
Binary Search on Array of Integers
Delete the Node at a Particular Position in a Linked List
Find the Missing Number in a Set of Numbers from 1 to 10
Rightmost Nodes of a Tree
Permutations!
Is this List a Palindrome?
Distance of a node from the root
Check a Linked List for Loops or Cycles With O(1) Space Complexity
Find the Maximum Contiguous Subsequence in an Array
Palindrome Tester
Find the size of the Binary Tree
Distance between two nodes in a Binary Tree
Mobile Game Range Module - Inserting Ranges
Selection Sort
Remove the "N^{th} from the end" Node from a Singly-Linked List
Power of 2
Boggle Search
Matrix Max Sum Path with Dynamic Programming
Find the First Non Duplicate Character in a String
Subset Summation
Looping Lists : Space complexity O(n)
Isomorphic Strings
Max Gain
Bit Swapping
Generate Combinations of Parentheses
Couple Sum
Insert Stars
Find the Maximum Number of Repetitions
Find the Middle of a List in a Single Pass
Flip it!
Recursively Merge Two Sorted Linked Lists
Longest Palindromic Substring
Rotate a Square Image Clockwise
Longest Non-Repeating Substring
Binary Representation
Levelorder Traversal
Is this Integer a Palindrome?
Find the N^{th} Node from the End - Linked List
Flip bits in a matrix
Array Partition
Duplicate neighbours
Does an Element N Exist in a Given Binary Tree?
Delete a List's Tail Node
Look and Say Sequence
Triple Sum
Remove Duplicate Nodes
Reverse Level Order Traversal
Introduction to Tries
Steal the Node
1-800-PROBLEM
Delete a Circular-Linked List's Tail Node
Implement the Breadth First Search Algorithm for a Graph
Anagrams
Delete a List's Head Node
Insert a Node at the Specified Position in Doubly Linked List
Rotate a Square Image Counterclockwise
Find the Number that Appears Once
Reverse an Integer
Insert a Node at the Front of a Linked List
Even or Odd?
Print all Possible Characters
Fraction to Decimal
Break a Word!
Find a Node in a Binary Tree Without Using Recursion
Maximum Coordinates!
Find the Diameter of a BST
Count the Leaves!
Insert a Node at the Tail of a Doubly Linked List
Insert a Node at the Head of a Circular Linked List
Delete the Node at the Head of a Doubly Linked List
Delete the Tail Node of a Doubly Linked List
Iterative Inorder Traversal
Maximum Sum Path
Recursive Inorder Traversal
Recursive Postorder Traversal
Iterative Postorder Traversal
Roll the Dice!
Re-arrange Linked List in Pairs
Parse Simple Mathematical Expressions
Rotate Linear Array
Minimum Sum Path in a Triangle
Natural Language Parser
Iterative Preorder Traversal
Find the Transpose of a Square Matrix
Jam into a BST
Find a BST Node
Find the Minimum BST Node
Happy Numbers!
Making Change
Delete the Node at the Specific Position in a Doubly Linked List
Quadruple Sum
Mirror Mirror on the Wall ...
Insert a Node at the End of a Linked List
Check Balanced Parentheses
Merge Two Sorted Arrays
Find the Level that has the Maximum Sum
Better Fibonacci
Convert a Binary Tree to its Mirror Image
Tail word length
Dominant Element
Merge Integer Ranges
Insert and Merge Ranges
Minimum Sub Array Size for a Target
Make Palindrome
Sum Root-to-Leaf Numbers
Range of a Number in an Array
Excel - Column Name to Number
Excel - Column Number to Column Name
Chocolate time!
Unique Routes!
Evaluate Postfix Notation
Decode Numbers!
Circular route
Minimum Window Sequence
Validate a Sudoku
Robbery
Division
Longest Common Prefix in a group of Strings
Wildcard Pattern Matching
Binary Gap
Repeated Sequences(DNA)
Minimum number of Jumps
Longest substring with two Unique Characters
Simplify file Path
Sorted Array into BST
Sorted Linked List into BST
Merge array into the Largest Number
Compare Two Versions
POW!
Boggle with Paper Dictionary
N-Ary Tree Serialization
HashMap with Random Value Picker
Find the Sum of all Elements in a Binary Tree Iteratively
Fibonacci Number
Iterative BST Validation
Find the Sum of all Elements in a Binary Tree
Height of a Binary Tree
Are these Binary Trees Identical?
Matrix Max Sum Path with DFS
Insert a Node at the Tail of a Circular Linked List
Replace all Spaces
Delete the Head Node of a Circular Linked List
Image Manipulation
String Compression
Snake
Print all Nodes in the Range a .. b in a given BST
Count Paths on a Game Board
Reverse a string
Fill in the Ancestors of the Node in a Binary Tree
Find the N^{th} Node from the end without using extra memory - Linked List
Bubble Sort
C
Java
Python