Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character. Example 1: Input: S = ...
分类:
其他好文 时间:
2019-02-28 01:14:39
阅读次数:
184
1050 String Subtraction (20 分) Given two strings S?1?? and S?2??, S=S?1???S?2?? is defined to be the remaining string after taking all the characters ...
分类:
其他好文 时间:
2019-02-25 21:50:06
阅读次数:
207
1)TD项目修改alps\mediatek\source\frameworks\base\core\res\res\values\Strings.xml中 的wifi_tether_configure_ssid_default_for_cmcc变量 2)非TD项目修改alps\frameworks\ ...
分类:
移动开发 时间:
2019-02-25 15:00:39
阅读次数:
567
ou should process m queries over a set D of strings. Each query is one of three kinds: Note that you should solve the problem in online mode. It means ...
分类:
其他好文 时间:
2019-02-25 00:27:32
阅读次数:
296
49. Group Anagrams Given an array of strings, group anagrams together. Example: ...
分类:
Web程序 时间:
2019-02-24 23:08:09
阅读次数:
188
43. Multiply Strings Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a ...
分类:
Web程序 时间:
2019-02-24 00:54:31
阅读次数:
204
题目描述: Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input:s = "anagram", t = "nagaram" Output: true Ex ...
分类:
其他好文 时间:
2019-02-22 21:08:03
阅读次数:
159
Difficulty: Easy Problem You are given an array of strings. Two strings and are special equivalent if after any number of moves , S == T. A move consi ...
分类:
其他好文 时间:
2019-02-19 23:36:11
阅读次数:
283
论文中的解法是离线插入 $O(\log n)$ 询问 $O(\log n)$ 的,不过我发现有一种离线插入 $O(1)$ 询问 $O(\log n)$ 的方法。 首先我们离线处理,将两个串连在一起。我们以 $ababa$ 和 $aba$ 为例: 比如现在我们要询问 $A$ 串 $[1,4]$ 和 $ ...
分类:
其他好文 时间:
2019-02-18 14:31:27
阅读次数:
201
1. redis数据结构 – 简介 redis是一种高级的key:value存储系统,其中value支持五种数据类型: 1.字符串(strings) 2.字符串列表(lists) 3.字符串集合(sets) 4.有序字符串集合(sorted sets) 5.哈希(hashes) 而关于key,有几个 ...
分类:
其他好文 时间:
2019-02-17 23:41:45
阅读次数:
190