1.1 句点符号
假设你在玩英文拼字游戏,想要找出三个字母的单词,而且这些单词必须以“t”字母开头,以“n”字母结束。另外,假设有一本英文字典,你可以用正则表达式搜索它的全部内容。要构造出这个正则表达式,你可以使用一个通配符——句点符号“.”。这样,完整的表达式就是“t.n”,它匹配“tan”、“ten”、“tin”和“ton”,还匹配“t#n”、“tpn”甚至“tn”,还有其他许多...
分类:
其他好文 时间:
2016-06-30 12:55:07
阅读次数:
157
Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return: Note: All inputs will be i ...
分类:
编程语言 时间:
2016-06-30 12:25:21
阅读次数:
204
Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return: 这题其实是算是Valid Anagram的一个fol ...
分类:
其他好文 时间:
2016-06-27 23:01:34
阅读次数:
261
头文件<math.h>所有函数的返回值都是double,三角函数的角度用弧度表示。sin(doublex)、cos(doublex)、tan(doublex)、asin(doublex)、acos(doublex)、atan(doublex)、atan2(doubley,doublex)、sinh(doublex)(x的双曲正弦值)、cosh(doublex)(x的双曲余弦值)tanh(doub..
分类:
其他好文 时间:
2016-06-27 12:30:47
阅读次数:
161
第一次写那么大的程序(感觉还是不错)
package _25增加配置文件;import java.awt.*;
import java.awt.event.*;
import java.util.List;import java.util.ArrayList;
/**
* 这是这款游戏的主窗口,各个类都有他的引用
* @author ☆东★
*
*/
public class Tan...
分类:
编程语言 时间:
2016-06-27 01:40:03
阅读次数:
290
Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return: Note: All inputs will be i ...
分类:
其他好文 时间:
2016-06-22 22:00:17
阅读次数:
139
题目链接:https://leetcode.com/problems/anagrams/
题目:
Given an array of strings, group anagrams together.
For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"],
Return:
[
["ate", "...
分类:
其他好文 时间:
2016-06-12 02:41:58
阅读次数:
125
Given an array of strings, group anagrams together. Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate ...
分类:
其他好文 时间:
2016-06-11 07:08:02
阅读次数:
329
scale(sx,sy)对应matrix(sx,0,0,sy,0,0) 拉伸 rotate(θ)对应matrix(cosθ,sinθ,-sinθ,cosθ,0,0) 旋转 skew(θx,θy)对应matrix(1,tan(θy),tan(θx),1,0,0) 倾斜 ...
分类:
Web程序 时间:
2016-06-05 14:03:15
阅读次数:
171
Group Anagrams
Total Accepted: 76941 Total
Submissions: 275801 Difficulty: Medium
Given an array of strings, group anagrams together.
For example, given: ["eat", "tea", "tan", "ate"...
分类:
其他好文 时间:
2016-06-02 14:54:36
阅读次数:
204