
leetcode
文章平均质量分 53
WIN_CLASS
人生有两条路,一条用心走,叫作梦想;另一条用脚走,叫作现实。
展开
-
LeetCode|Longest Substring Without Repeating Characters
题目 Given a string, find the length of the longest substring without repeating characters. Examples: Given “abcabcbb”, the answer is “abc”, which the length is 3.原创 2017-04-15 10:16:16 · 389 阅读 · 0 评论 -
LeetCode|Valid Number
题目 Validate if a given string is numeric. Some examples: “0” => true ” 0.1 ” => true “abc” => false “1 a” => false “2e10” => true原创 2017-04-08 13:22:25 · 367 阅读 · 1 评论 -
LeetCode|Gray Code
给定一个数n,产生n位格雷码的十进制形式~原创 2017-04-05 19:52:57 · 351 阅读 · 0 评论 -
LeetCode| ZigZag Conversion
题目The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)原创 2017-05-06 21:57:59 · 335 阅读 · 0 评论