题目描述 Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of co ...
分类:
其他好文 时间:
2020-05-03 18:40:49
阅读次数:
162
https://developer.apple.com/library/archive/documentation/General/Conceptual/Devpedia-CocoaApp/MainEventLoop.html In the main event loop, an applicati ...
分类:
其他好文 时间:
2020-04-29 00:44:57
阅读次数:
68
The base (or radix) of a positional numeral system is the number of symbols that can be used to represent a number in that system. The base 1010 syste ...
分类:
其他好文 时间:
2020-04-20 11:47:10
阅读次数:
74
Problem : Given an integer array with even length, where different numbers in this array represent different kinds of candies. Each number means one c ...
分类:
其他好文 时间:
2020-04-17 00:23:13
阅读次数:
77
Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) Yo ...
分类:
其他好文 时间:
2020-04-14 22:48:18
阅读次数:
67
Given 2 lists a and b. Each element is a pair of integers where the first integer represents the unique id and the second integer represents a value. ...
分类:
其他好文 时间:
2020-04-06 10:06:59
阅读次数:
72
题面: If we represent a date in the format YYYY-MM-DD (for example, 2017-04-09), do you know how many 9s will appear in all the dates between Y1-M1-D1 a ...
分类:
其他好文 时间:
2020-04-05 22:01:51
阅读次数:
84
最近(以及预感接下来的一年)会读很多很多的paper......不如开个帖子记录一下读paper心得 SysML相关的文章很多来源于上学期的8980课。有些和具体field(比如DB/architecture/...)相关的就放到各个field的分类里啦,这里放一些不好分类的 Class Blog ...
分类:
其他好文 时间:
2020-04-02 01:00:59
阅读次数:
71
Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute values of the keys. That is, for each va ...
分类:
其他好文 时间:
2020-04-01 00:34:43
阅读次数:
61
1038. 珠宝和石头 中文English 给定字符串J代表是珠宝的石头类型,而S代表你拥有的石头.S中的每个字符都是你拥有的一个石头. 你想知道你的石头有多少是珠宝. J中的字母一定不同,J和S中的字符都是字母。 字母区分大小写,因此"a"和"A"是不同的类型. 样例 样例 1: 输入: J = ...
分类:
其他好文 时间:
2020-03-31 12:28:37
阅读次数:
71