All Posts

Data Stream As Disjoint Intervals Problem

LeetCode 352. Given a data stream input of non-negative integers...

Create Maximum Number Problem

LeetCode 321. You are given two integer arrays nums1 and...

Course Schedule Problem

LeetCode 207. There are a total of numCourses courses you...

Course Schedule II Problem

LeetCode 210. There are a total of numCourses courses you...

Counting Bits Problem

LeetCode 338. Given an integer n, return an array ans...

Count Primes Problem

LeetCode 204. Given an integer n, return the number of...


Count Of Smaller Numbers After Self Problem

LeetCode 315. You are given an integer array nums and...

Count Of Range Sum Problem

LeetCode 327. Given an integer array nums and two integers...

Count Numbers With Unique Digits Problem

LeetCode 357. Given an integer n, return the count of...

Count Complete Tree Nodes Problem

LeetCode 222. Given the root of a complete binary tree,...

Contains Duplicate Problem

LeetCode 217. Given an integer array nums, return true if...

Contains Duplicate III Problem

LeetCode 220. Given an integer array nums and two integers...

Contains Duplicate II Problem

LeetCode 219. Given an integer array nums and an integer...

Combination Sum IV Problem

LeetCode 377. Given an array of distinct integers nums and...


Combination Sum III Problem

LeetCode 216. Find all valid combinations of k numbers that...

Coin Change Problem

LeetCode 322. You are given an integer array coins representing...