摘要:
1. 4Sum Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the ar 阅读全文
摘要:
1. Container With Most Water Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are 阅读全文
摘要:
1. Longest Palindromic Substring Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. E 阅读全文
摘要:
1. 1-bit and 2-bit Characters We have two special characters. The first character can be represented by one bit 0. The second character can be represe 阅读全文