随笔分类 -  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 阅读全文
posted @ 2023-01-10 19:25 AaronTanooo 阅读(16) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2023-01-10 19:01 AaronTanooo 阅读(10) 评论(0) 推荐(0) 编辑
摘要:125. Valid Palindrome A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric cha 阅读全文
posted @ 2023-01-10 17:00 AaronTanooo 阅读(11) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示