ol 是 ordered list的缩写,表示有序列表。 ul 是 unordered list的缩写,表示无序列表。 ul的type属性有:disc—实心圆(默认)、circle—空心圆、square—实心方块。 ol的type属性有:1—数字(默认)、a—小写字母、A—大写字母、i—小写希腊字母 ...
分类:
Web程序 时间:
2016-06-26 23:47:08
阅读次数:
413
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. For exa ...
分类:
其他好文 时间:
2016-06-26 23:44:54
阅读次数:
177
5. Longest Palindromic Substring Total Accepted: 115366 Total Submissions: 492202 Difficulty: Medium Given a string S, find the longest palindromic su ...
分类:
其他好文 时间:
2016-06-25 23:05:59
阅读次数:
144
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2016-06-25 22:55:43
阅读次数:
158
Give you an integer matrix (with row size n, column size m),find the longest increasing continuous subsequence in this matrix. (The definition of the ...
分类:
其他好文 时间:
2016-06-25 21:33:58
阅读次数:
149
发送有序广播Ordered Broadcast Bundle ...
分类:
其他好文 时间:
2016-06-24 12:50:12
阅读次数:
149
Write a function to find the longest common prefix string amongst an array of strings 题目:找vector中最长公共前缀, 思路:模拟比较的过程,我们可以看到这些. 按照数组中的第一个字符串开始进行比较, 对第一个 ...
分类:
其他好文 时间:
2016-06-22 18:51:52
阅读次数:
150
题目链接https://leetcode.com/problems/longest-common-prefix/题目原文
Write a function to find the longest common prefix string amongst an array of strings.
题目翻译写个函数,找出一个字符串数组中所有字符串的最长公共前缀。
题目描述不清晰。。。补充几个例子,...
分类:
编程语言 时间:
2016-06-21 07:26:30
阅读次数:
159
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2016-06-20 17:12:28
阅读次数:
138
问题:https://leetcode.com/problems/longest-palindromic-substring/ 给定一个字符串 S,求出 S 的最长回文子串 思路: 1. 回文:一个字符串从前和从后读一致。S = "ABBA" 从前读:ABBA,从后读:ABBA 2. 最简单的做法: ...
分类:
其他好文 时间:
2016-06-19 18:14:53
阅读次数:
132