自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(71)
  • 收藏
  • 关注

原创 521. Longest Uncommon Subsequence I*

521. Longest Uncommon Subsequence I*https://leetcode.com/problems/longest-uncommon-subsequence-i/题目描述Given a group of two strings, you need to find the longest uncommon subsequence of this group of...

2020-01-31 23:08:45 159

原创 49. Group Anagrams**

49. Group Anagrams**https://leetcode.com/problems/group-anagrams/题目描述Given an array of strings, group anagrams together.Example:Input: ["eat", "tea", "tan", "ate", "nat", "bat"],Output:[ ["at...

2020-01-31 22:57:45 217

原创 1023. Camelcase Matching**

1023. Camelcase Matching**https://leetcode.com/problems/camelcase-matching/题目描述A query word matches a given pattern if we can insert lowercase letters to the pattern word so that it equals the quer...

2020-01-31 22:09:01 226

原创 1189. Maximum Number of Balloons*

1189. Maximum Number of Balloons*\https://leetcode.com/problems/maximum-number-of-balloons/题目描述Given a string text, you want to use the characters of text to form as many instances of the word “bal...

2020-01-30 14:40:49 482

原创 893. Groups of Special-Equivalent Strings*

893. Groups of Special-Equivalent Strings*https://leetcode.com/problems/groups-of-special-equivalent-strings/题目描述You are given an array A of strings.A move onto S consists of swapping any two even...

2020-01-30 14:00:48 178

原创 917. Reverse Only Letters*

917. Reverse Only Letters*https://leetcode.com/problems/reverse-only-letters/题目描述Given a string S, return the “reversed” string where all characters that are not a letter stay in the same place, an...

2020-01-30 09:09:56 240

原创 1247. Minimum Swaps to Make Strings Equal**

1247. Minimum Swaps to Make Strings Equal**https://leetcode.com/problems/minimum-swaps-to-make-strings-equal/题目描述You are given two strings s1 and s2 of equal length consisting of letters "x" and "y...

2020-01-30 09:00:45 334

原创 609. Find Duplicate File in System**

609. Find Duplicate File in System**https://leetcode.com/problems/find-duplicate-file-in-system/题目描述Given a list of directory info including directory path, and all the files with contents in this ...

2020-01-29 20:08:46 241

原创 557. Reverse Words in a String III*

557. Reverse Words in a String III*https://leetcode.com/problems/reverse-words-in-a-string-iii/题目描述Given a string, you need to reverse the order of characters in each word within a sentence while s...

2020-01-29 17:05:37 198

原创 151. Reverse Words in a String**

151. Reverse Words in a String**https://leetcode.com/problems/reverse-words-in-a-string/题目描述Given an input string, reverse the string word by word.Example 1:Input: "the sky is blue"Output: "blue...

2020-01-29 16:59:28 175

原创 541. Reverse String II*

541. Reverse String II*https://leetcode.com/problems/reverse-string-ii/题目描述Given a string and an integer k, you need to reverse the first k characters for every 2k characters counting from the star...

2020-01-29 12:00:02 196

原创 344. Reverse String*

344. Reverse String*https://leetcode.com/problems/reverse-string/题目描述Write a function that reverses a string. The input string is given as an array of characters char[].Do not allocate extra space...

2020-01-29 11:36:45 189

原创 929. Unique Email Addresses*

929. Unique Email Addresses*https://leetcode.com/problems/unique-email-addresses/题目描述Every email consists of a local name and a domain name, separated by the @ sign.For example, in alice@leetcode....

2020-01-29 11:31:57 299

原创 657. Robot Return to Origin*

657. Robot Return to Origin*https://leetcode.com/problems/robot-return-to-origin/题目描述There is a robot starting at position (0, 0), the origin, on a 2D plane. Given a sequence of its moves, judge if...

2020-01-29 10:45:42 239

原创 804. Unique Morse Code Words*

804. Unique Morse Code Words*https://leetcode.com/problems/unique-morse-code-words/题目描述International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashe...

2020-01-29 10:39:58 195

原创 1309. Decrypt String from Alphabet to Integer Mapping*

1309. Decrypt String from Alphabet to Integer Mapping*https://leetcode.com/problems/decrypt-string-from-alphabet-to-integer-mapping/题目描述Given a string s formed by digits ('0' - '9') and '#' . We wa...

2020-01-29 10:22:29 358

原创 709. To Lower Case*

709. To Lower Case*https://leetcode.com/problems/to-lower-case/题目描述Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase.Example 1:Input: "Hel...

2020-01-29 09:51:03 280

原创 647. Palindromic Substrings**

647. Palindromic Substrings**https://leetcode.com/problems/palindromic-substrings/题目描述Given a string, your task is to count how many palindromic substrings in this string.The substrings with diffe...

2020-01-28 15:53:02 175

原创 1324. Print Words Vertically**

1324. Print Words Vertically**https://leetcode.com/problems/print-words-vertically/题目描述Given a string s. Return all the words vertically in the same order in which they appear in s.Words are retur...

2020-01-27 22:04:39 954

原创 22. Generate Parentheses**

22. Generate Parentheses**https://leetcode.com/problems/generate-parentheses/题目描述Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example,...

2020-01-27 15:59:47 197

原创 1249. Minimum Remove to Make Valid Parentheses**

1249. Minimum Remove to Make Valid Parentheses**https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/题目描述Given a string s of '(' , ')' and lowercase English characters.Your task ...

2020-01-27 13:19:30 640

原创 791. Custom Sort String**

791. Custom Sort String**https://leetcode.com/problems/custom-sort-string/题目描述S and T are strings composed of lowercase letters. In S, no letter occurs more than once.S was sorted in some custom o...

2020-01-27 09:58:24 237

原创 537. Complex Number Multiplication**

537. Complex Number Multiplication**https://leetcode.com/problems/complex-number-multiplication/题目描述Given two strings representing two complex numbers.You need to return a string representing thei...

2020-01-26 19:38:39 242

原创 890. Find and Replace Pattern**

890. Find and Replace Pattern**https://leetcode.com/problems/find-and-replace-pattern/题目描述You have a list of words and a pattern, and you want to know which words in words matches the pattern.A wo...

2020-01-26 16:20:03 198

原创 1221. Split a String in Balanced Strings*

1221. Split a String in Balanced Strings*https://leetcode.com/problems/split-a-string-in-balanced-strings/题目描述Balanced strings are those who have equal quantity of 'L' and 'R' characters.Given a b...

2020-01-26 15:52:12 267

原创 1108. Defanging an IP Address*

1108. Defanging an IP Address**https://leetcode.com/problems/defanging-an-ip-address/题目描述Given a valid (IPv4) IP address, return a defanged version of that IP address.A defanged IP address replace...

2020-01-26 15:30:28 325

原创 974. Subarray Sums Divisible by K**

974. Subarray Sums Divisible by K**https://leetcode.com/problems/subarray-sums-divisible-by-k/题目描述Given an array A of integers, return the number of (contiguous, non-empty) subarrays that have a su...

2020-01-25 16:12:17 216

原创 209. Minimum Size Subarray Sum**

209. Minimum Size Subarray Sum**https://leetcode.com/problems/minimum-size-subarray-sum/题目描述Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous s...

2020-01-23 23:12:52 236

原创 79. Word Search**

79. Word Search**https://leetcode.com/problems/word-search/闲扯: 这几天都在看<临高启明>, 没有坚持写题, 不是意志力的问题, 只怪小说太好看 ????题目描述Given a 2D board and a word, find if the word exists in the grid.The word can be ...

2020-01-22 23:06:00 242

原创 1014. Best Sightseeing Pair**

1014. Best Sightseeing Pair**https://leetcode.com/problems/best-sightseeing-pair/题目描述Given an array A of positive integers, A[i] represents the value of the i-th sightseeing spot, and two sightseei...

2020-01-19 15:25:32 208

原创 495. Teemo Attacking**

495. Teemo Attacking**https://leetcode.com/problems/teemo-attacking/题目描述In LOL world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the...

2020-01-19 13:26:49 224

原创 1052. Grumpy Bookstore Owner**

1052. Grumpy Bookstore Owner**https://leetcode.com/problems/grumpy-bookstore-owner/题目描述Today, the bookstore owner has a store open for customers.length minutes. Every minute, some number of custom...

2020-01-17 20:25:39 503

原创 216. Combination Sum III**

216. Combination Sum III**https://leetcode.com/problems/combination-sum-iii/题目描述Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be use...

2020-01-17 12:26:29 175

原创 40. Combination Sum II**

40. Combination Sum II**https://leetcode.com/problems/combination-sum-ii/题目描述Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candi...

2020-01-16 23:36:27 226

原创 39. Combination Sum**

39. Combination Sum**https://leetcode.com/problems/combination-sum/题目描述Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations ...

2020-01-16 23:18:17 156

原创 713. Subarray Product Less Than K**

713. Subarray Product Less Than K**https://leetcode.com/problems/subarray-product-less-than-k/题目描述Your are given an array of positive integers nums.Count and print the number of (contiguous) subar...

2020-01-16 22:56:16 200

原创 775. Global and Local Inversions**

775. Global and Local Inversions**https://leetcode.com/problems/global-and-local-inversions/题目描述We have some permutation A of [0, 1, ..., N - 1], where N is the length of A.The number of (global) ...

2020-01-16 09:03:06 224

原创 825. Friends Of Appropriate Ages**

825. Friends Of Appropriate Ages**https://leetcode.com/problems/friends-of-appropriate-ages/题目描述Some people will make friend requests. The list of their ages is given and ages[i] is the age of the ...

2020-01-15 23:00:36 218

原创 670. Maximum Swap**

670. Maximum Swap**https://leetcode.com/problems/maximum-swap/题目描述Given a non-negative integer, you could swap two digits at most once to get the maximum valued number. Return the maximum valued nu...

2020-01-15 21:50:56 196

原创 120. Triangle**

120. Triangle**https://leetcode.com/problems/triangle/题目描述Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, g...

2020-01-15 20:42:08 158

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除