168. Excel Sheet Column Title Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: 1 -> A… 阅读更多 »Excel Sheet Column Title-LeetCode#168
485. Max Consecutive Ones Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Input: [1,1,0,1,1,1] Output: 3 Exp… 阅读更多 »Max Consecutive Ones-LeetCode#485
957. Prison Cells After N Days There are 8 prison cells in a row, and each cell is either occupied or vacant. Each day, whether the cell is occupied o… 阅读更多 »Prison Cells After N Days-LeetCode#957
482. License Key Formatting You are given a license key represented as a string S which consists only alphanumeric character and dashes. The string is… 阅读更多 »License Key Formatting-LeetCode#482
859. Buddy Strings Given two strings A and B of lowercase letters, return true if and only if we can swap two letters in A so that the result equals B… 阅读更多 »Buddy Strings-LeetCode#859
557. Reverse Words in a String III Given a string, you need to reverse the order of characters in each word within a sentence while still preserving w… 阅读更多 »Reverse Words in a String III-LeetCode#557