Featured
A list of LeetCode database problems and solutions.
A growing list of LeetCode problems and solutions.
An object oriented design problem. Imagine you have a call center with three levels of employees, respondent, manager and director....
All Posts
LeetCode 914. In a deck of cards, each card has...
LeetCode 916. You are given two string arrays words1 and...
LeetCode 874. A robot on an infinite XY-plane starts at...
LeetCode 966. Given a wordlist, we want to implement a...
LeetCode 987. Given the root of a binary tree, calculate...
LeetCode 953. In an alien language, surprisingly, they also use...
LeetCode 946. Given two integer arrays pushed and popped each...
LeetCode 903. You are given a string s of length...
LeetCode 941. Given an array of integers arr, return true...
LeetCode 965. A binary tree is uni-valued if every node...
LeetCode 980. You are given an m x n integer...
LeetCode 804. International Morse Code defines a standard encoding where...
LeetCode 929. Every valid email consists of a local name...
LeetCode 884. A sentence is a string of single-space separated...
LeetCode 982. Given an integer array nums, return the number...
LeetCode 867. Given a 2D integer array matrix, return the...