- 博客(252)
- 资源 (4)
- 收藏
- 关注

原创 Leetcode 解题报告整理索引(更新至154题)
Leetcode 解题报告整理索引1.Two Sum, http://blog.youkuaiyun.com/flyupliu/article/details/222382372.Median of Two Sorted Arrays, http://blog.youkuaiyun.com/flyupliu/article/details/253355613.Longest Substring Without Repeating
2014-05-24 13:47:45
2146

原创 阅读器订阅
这是一篇散文。好久没有看订阅,也没怎么好好利用kindle。发现feedly在chrome上的插件已经跪了,coding horror都搜不出来,试了下有道阅读的订阅,感觉还不错,速度挺快的。好的文章可以直接通过有道阅读的邮件分享到evernote(evernote工具->账户信息有当前账户的邮箱).印象笔记的功能实在大赞,很方便。这些都是web上都有的,不用局限于window
2014-04-03 15:48:27
1087
原创 k8s kubelet 主流程图解
k8s 版本:1.3 下图是以前看代码整理出来的。syncPod 本身也是非常复杂的逻辑,关于syncPod的上下游后续再补上。
2017-10-25 00:29:16
1789
原创 pod中state与laststate及kubectl get pod中的status的关联
描述在pod拉起容器失败时,查看pod的json信息中state与lastState关联,以及其与kubectl get pod中STATUS字段的关联。
2017-09-10 17:07:10
5599
原创 mac osx上配置ctags
先说下homebrew安装 ctags1. http://brew.sh/index_zh-cn.html 中有说如何安装homebrew:ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"2. brew install vimbrew in
2015-05-06 22:43:43
1342
1
原创 Leetcode_find-minimum-in-rotated-sorted-array-ii(c++ version)
题目:https://oj.leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii/
2014-10-22 16:05:15
706
原创 Leetcode_find-minimum-in-rotated-array(c++ version)
题目 https://oj.leetcode.com/problems/find-minimum-in-rotated-sorted-array/
2014-10-18 00:59:33
601
原创 What is the difference between new and malloc()?
我记不得我曾多少次在网上搜索new 和 malloc 的区别,qian
2014-09-07 19:47:51
1129
原创 Leetcode_scramble-string
地址:https://oj.leetcode.com/problems/scramble-string/
2014-05-24 11:48:52
781
原创 Leetcode_regular-expression-matching
http://oj.leetcode.com/problems/regular-expression-matching/Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the
2014-05-23 19:34:11
718
原创 Leetcode_word-ladder-ii
地址:https://oj.leetcode.com/problems/word-ladder-ii/
2014-05-23 11:42:05
1133
原创 Leetcode_integer-to-roman
地址:https://oj.leetcode.com/problems/integer-to-roman/Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.思路:
2014-05-21 23:04:29
617
原创 Leetcode_roman-to-integer
地址:https://oj.leetcode.com/problems/roman-to-integer/Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.
2014-05-21 21:20:22
712
原创 Leetcode_surrounded-regions
地址:https://oj.leetcode.com/problems/surrounded-regions/
2014-05-21 14:18:24
632
原创 Leetcode_palindrome-partitioning-ii
地址:https://oj.leetcode.com/problems/palindrome-partitioning-ii/
2014-05-21 13:35:56
604
原创 Leetcode_minimum-window-substring(c++ version)
地址:http://oj.leetcode.com/problems/minimum-window-substring/
2014-05-20 11:03:02
655
原创 Leetcode_sort-list(c++ version)
地址:http://oj.leetcode.com/problems/sort-list/
2014-05-19 12:57:26
581
原创 Leetcode_recover-binary-search-tree
地址:http://oj.leetcode.com/problems/recover-binary-search-tree/
2014-05-19 10:28:54
659
原创 Leetcode_text-justification(c++ version)
地址:http://oj.leetcode.com/problems/text-justification/
2014-05-18 22:41:53
818
原创 **Leetcode_lru-cache (c++ version)
地址:http://oj.leetcode.com/problems/lru-cache/
2014-05-17 19:25:39
761
原创 *Leetcode_clone-graph(c++ version)
地址:http://oj.leetcode.com/problems/clone-graph/
2014-05-17 15:58:33
845
原创 Leetcode_simplify-path(c++ version)
地址:http://oj.leetcode.com/problems/simplify-path/
2014-05-17 14:46:02
581
原创 Leetcode_word-ladder(c++ version)
地址:http://oj.leetcode.com/problems/word-ladder/
2014-05-15 11:39:56
1229
原创 Leetcode_best-time-to-buy-and-sell-stock-iii
地址:http://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/
2014-05-14 15:05:17
730
原创 *Leetcode_binary-tree-maximum-path-sum (updated c++ and python version)
地址:http://oj.leetcode.com/problems/binary-tree-maximum-path-sum/Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the be
2014-05-14 12:53:33
718
原创 Leetcode_longest-valid-parentheses(c++ version)
地址:http://oj.leetcode.com/problems/longest-valid-parentheses/
2014-05-14 10:34:33
655
原创 Leetcode_max-points-on-a-line(c++ and python version)
地址:http://oj.leetcode.com/problems/max-points-on-a-line/Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.、c++ 参考代码:
2014-05-11 23:05:19
642
原创 Leetcode_search-in-rotated-sorted-array-ii(updated c++ and python version)
地址:http://oj.leetcode.com/problems/search-in-rotated-sorted-array-ii/Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed?Would this affect the run-time complexity
2014-05-10 11:10:03
806
原创 Leetcode_next-permutation(c++ and python version)
地址:http://oj.leetcode.com/problems/next-permutation/
2014-05-09 23:58:16
614
原创 Leetcode_permutation-sequence(c++ and python version)
地址:http://oj.leetcode.com/problems/permutation-sequence/
2014-05-08 23:31:32
655
原创 **Leetcode_median-of-two-sorted-arrays (c++ and python version)
地址:http://oj.leetcode.com/problems/median-of-two-sorted-arrays/There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time comp
2014-05-08 20:35:56
898
原创 Leetcode_multiply-strings (updated c++ and python version)
地址:http://oj.leetcode.com/problems/multiply-strings/Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and
2014-05-05 14:59:14
660
原创 Leetcode_jump-game-ii(c++ and python version)
地址:http://oj.leetcode.com/problems/jump-game-ii/Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents you
2014-05-05 13:51:43
715
原创 Leetcode_populating-next-right-pointers-in-each-node-ii(updated c++ version)
地址:http://oj.leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/
2014-05-05 10:05:49
870
原创 Leetcode_trapping-rain-water(updated c++ and python version)
地址:http://oj.leetcode.com/problems/trapping-rain-water/Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap aft
2014-05-04 14:15:15
616
原创 **Leetcode_largest-rectangle-in-histogram(c++ and python version)
地址:http://oj.leetcode.com/problems/largest-rectangle-in-histogram/
2014-05-04 11:25:21
880
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人