Algorithm/leetcode 0