标签: string
-
[LeetCode] 332. Reconstruct Itinerary
Given a list of airline tickets represented by pairs of…
-
leetcode讲解–811. Subdomain Visit Count
A website domain like “discuss.leetcode.com” consists o…
-
[LeetCode] 767. Reorganize String
Given a string S, check if the letters can be rearrange…
-
[LeetCode] 402. Remove K Digits
Given a non-negative integer num represented as a strin…
-
[LeetCode] 722. Remove Comments
Given a C++ program, remove comments from it. The progr…
-
[LeetCode] 657. Robot Return to Origin
There is a robot starting at position (0, 0), the origi…
-
[LeetCode] 71. Simplify Path
Given an absolute path for a file (Unix-style), simplif…
-
关于String内的indexOf方法的一些疑问
今天浏览了一下java里的String类,发现一个静态方法有点意思,就是我们常用的indexOf(String…
-
[LeetCode] 243. Shortest Word Distance
Given a list of words and two words word1 and word2, re…
-
leetcode383. Ransom Note
假设有一组字母和一组从杂志中获取的字母,问是否能够用从杂志中获取的字母构成想要的那组字母,要求每个单词只能使用…