Leetcode 3Sum, 3Sum Closest and 4Sum

Leetcode 3Sum, 3Sum Closest and 4Sum Well, these problems are very similar to Two Sum problem. You might want to check before you proceed. Leetcode 15 3Sum Edit 3Sum on

Leetcode 1 Two Sum

Leetcode 1 Two Sum Edit Two Sum on GitHub The problem description is as follow: Given an array of integers, find two numbers such that they add up to a

Leetcode 138 Copy List with Random Pointer

Leetcode 138 Copy List with Random Pointer The description of problem is : /** * Definition for singly-linked list with a random pointer. * class RandomListNode { * int label;

Leetcode 54 Spiral Matrix and 59 Spiral Matrix II

Leetcode 54 Spiral Matrix and 59 Spiral Matrix II Leetcode 54 Spiral Matrix Edit Spiral Matrix on GitHub The problem description is as follow: Given a matrix of m x

Leetcode 56 Merge Intervals and 57 Insert Interval

Leetcode 56 Merge Intervals and 57 Insert Interval Leetcode 56 Merge Intervals Edit Merge Intervals on GitHub The problem description is as follow: Given a collection of intervals, merge all