上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 58 下一页
摘要: Given string S and a dictionary of words words, find the number of words[i] that is a subsequence of S. Note: All words in words and S will only consi 阅读全文
posted @ 2018-03-06 19:16 樱花落舞 阅读(169) 评论(0) 推荐(0)
摘要: A Tic-Tac-Toe board is given as a string array board. Return True if and only if it is possible to reach this board position during the course of a va 阅读全文
posted @ 2018-03-06 19:13 樱花落舞 阅读(230) 评论(0) 推荐(0)
摘要: B站av11459203的一系列视频,跳过了基础篇直接进入进阶,从此难度开始加大。这里做出一些笔记分享一下。 我是1.25速度看的。。对应分P 37-38 构造函数的作用 将对象初始化为一个特定的初始状态。 构造函数的形式 函数名与类名相同 不能定义返回值类型,也不能有return语句 有形式参数, 阅读全文
posted @ 2018-03-03 23:37 樱花落舞 阅读(529) 评论(0) 推荐(0)
摘要: We have two types of tiles: a 2x1 domino shape, and an "L" tromino shape. These shapes may be rotated. Given N, how many ways are there to tile a 2 x 阅读全文
posted @ 2018-03-03 22:41 樱花落舞 阅读(397) 评论(0) 推荐(0)
摘要: S and T are strings composed of lowercase letters. In S, no letter occurs more than once. S was sorted in some custom order previously. We want to per 阅读全文
posted @ 2018-03-03 22:30 樱花落舞 阅读(241) 评论(0) 推荐(0)
摘要: You are playing a simplified Pacman game. You start at the point (0, 0), and your destination is(target[0], target[1]). There are several ghosts on th 阅读全文
posted @ 2018-03-03 22:26 樱花落舞 阅读(222) 评论(0) 推荐(0)
摘要: X is a good number if after rotating each digit individually by 180 degrees, we get a valid number that is different from X. A number is valid if each 阅读全文
posted @ 2018-03-03 22:20 樱花落舞 阅读(233) 评论(0) 推荐(0)
摘要: B站av11459203的一系列视频,跳过了基础篇直接进入进阶,从此难度开始加大。这里做出一些笔记分享一下。 我是1.25速度看的。。对应分P 34-36 对象:现实中对象的模拟,具有属性和行为,对象是类的实例 类:同一类对象共同属性和行为 定义对象时,通过构造函数初始化 删除对象时,通过析构函数释 阅读全文
posted @ 2018-03-02 13:05 樱花落舞 阅读(489) 评论(0) 推荐(0)
摘要: Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another e 阅读全文
posted @ 2018-03-01 20:52 樱花落舞 阅读(194) 评论(0) 推荐(0)
摘要: Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest l 阅读全文
posted @ 2018-03-01 00:25 樱花落舞 阅读(142) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 58 下一页