摘要:
。。。此道算法题的难点在于排除重复项,重复项真的好麻烦。。。 Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c 阅读全文
摘要:
Given a sorted array nums, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra spa 阅读全文
摘要:
Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the thr 阅读全文