- 博客(6)
- 资源 (5)
- 收藏
- 关注
原创 Markdown 语法解析
基本技巧代码如果你只想高亮语句中的某个函数名或关键字,可以使用 `function_name()` 实现通常编辑器根据代码片段适配合适的高亮方法,但你也可以用 ``` 包裹一段代码,并指定一种语言```javascript$(document).ready(function () { alert('hello world');});```支持的语言:1c, abnf, accessl...
2018-04-16 13:36:31 1265
原创 [leetcode 804] Unique Morse Code Words
International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a" maps to ".-", "b" maps to "-...", "c" maps to "-.-.", and so on.For
2018-04-16 12:39:26 162
原创 [leetcode 803] Bricks Falling When Hit
We have a grid of 1s and 0s; the 1s in a cell represent bricks. A brick will not drop if and only if it is directly connected to the top of the grid, or at least one of its (4-way) adjacent bricks wi...
2018-04-16 10:38:24 851
原创 [leetcode 802] Find Eventual Safe States
In a directed graph, we start at some node and every turn, walk along a directed edge of the graph. If we reach a node that is terminal (that is, it has no outgoing directed edges), we stop.Now, say ...
2018-04-16 09:24:17 535
原创 [leetcode 801] Minimum Swaps To Make Sequences Increasing
801. Minimum Swaps To Make Sequences IncreasingWe have two integer sequences A and B of the same non-zero length.We are allowed to swap elements A[i] and B[i]. Note that both elements are in the same...
2018-04-16 08:14:18 344
原创 YAML 语法浅析
YAML简介:YAML是“YAML不是一种标记语言”的外语缩写;但为了强调这种语言以数据做为中心,而不是以置标语言为重点,而用返璞词重新命名。它是一种直观的能够被电脑识别的数据序列化格式,是一个可读性高并且容易被人类阅读,容易和脚本语言交互,用来表达资料序列的编程语言。在线编辑器,可以将YAML 转换为JSON 或Python 的output。语法特性1,使用缩进来表示层级关系, 且禁止使用tab...
2018-04-16 03:23:43 2075
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人