随笔分类 - Two Pointers
摘要:11. Container With Most Water You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the i
阅读全文
摘要:3Sum Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nu
阅读全文
摘要:125. Valid Palindrome A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric cha
阅读全文