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

Implementing Simple Garbage Collector

Implementing Simple Garbage Collector Edit Implementing Simple Garbage Collector on GitHub For thousands of times I have been thinking about this question: How come it seems to me that Java