随笔分类 -  Leetcode & Lintcode

Coding problems
摘要:Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.) 阅读全文

posted @ 2016-05-22 14:02 dingjunnan 阅读(166) 评论(0) 推荐(0)

摘要:Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Your goal is to reach the last index in the minimum number of jumps. 阅读全文

posted @ 2016-05-21 16:06 dingjunnan 阅读(217) 评论(0) 推荐(0)

摘要:Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determine if you are able to reach the last index. 阅读全文

posted @ 2016-05-21 15:37 dingjunnan 阅读(157) 评论(0) 推荐(0)

摘要:LintCode : Binary Search Tree Iterator 阅读全文

posted @ 2016-04-21 21:42 dingjunnan 阅读(144) 评论(0) 推荐(0)

摘要:LintCode : Lowest Common Ancestor 阅读全文

posted @ 2016-04-21 18:05 dingjunnan 阅读(113) 评论(0) 推荐(0)

摘要:LintCode : Remove Node in Binary Search Tree 阅读全文

posted @ 2016-04-21 17:34 dingjunnan 阅读(131) 评论(0) 推荐(0)

摘要:LintCode : Balanced Binary Tree 阅读全文

posted @ 2016-04-19 14:42 dingjunnan 阅读(111) 评论(0) 推荐(0)

摘要:LintCode : Binary Tree Path Sum 阅读全文

posted @ 2016-04-17 21:31 dingjunnan 阅读(419) 评论(0) 推荐(0)

摘要:LintCode : Inorder Successor in Binary Search Tree 阅读全文

posted @ 2016-04-17 01:17 dingjunnan 阅读(173) 评论(0) 推荐(0)

摘要:LintCode : Validate Binary Search Tree 阅读全文

posted @ 2016-04-17 00:53 dingjunnan 阅读(152) 评论(0) 推荐(0)

摘要:Given a binary tree, return the inorder traversal of its nodes' values. 阅读全文

posted @ 2016-03-13 13:37 dingjunnan 阅读(115) 评论(0) 推荐(0)

摘要:Permutations II 阅读全文

posted @ 2016-02-21 23:42 dingjunnan 阅读(164) 评论(0) 推荐(0)

导航