Idiot-maker

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

随笔分类 -  LeetCode

上一页 1 ··· 3 4 5 6 7 8 9 10 下一页

摘要:https://oj.leetcode.com/problems/intersection-of-two-linked-lists/Write a program to find the node at which the intersection of two singly linked list... 阅读全文
posted @ 2015-03-05 20:19 NickyYe 阅读(167) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/flatten-binary-tree-to-linked-list/ Given a binary tree, flatten it to a linked list in-place. For example,Given The 阅读全文
posted @ 2015-03-05 15:12 NickyYe 阅读(198) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/reverse-linked-list-ii/Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2-... 阅读全文
posted @ 2015-03-04 19:13 NickyYe 阅读(201) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/reorder-list/ Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must do this i 阅读全文
posted @ 2015-03-04 15:02 NickyYe 阅读(256) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/remove-duplicates-from-sorted-list-ii/ Given a sorted linked list, delete all nodes that have duplicate numbers, leav 阅读全文
posted @ 2015-03-03 19:38 NickyYe 阅读(184) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/convert-sorted-list-to-binary-search-tree/Given a singly linked list where elements are sorted in ascending order, co... 阅读全文
posted @ 2015-03-03 13:50 NickyYe 阅读(225) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/symmetric-tree/Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For exam... 阅读全文
posted @ 2015-03-02 19:20 NickyYe 阅读(215) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/valid-sudoku/Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partia... 阅读全文
posted @ 2015-02-28 20:41 NickyYe 阅读(197) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/path-sum-ii/ Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. F 阅读全文
posted @ 2015-02-28 14:51 NickyYe 阅读(280) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/path-sum/ Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the va 阅读全文
posted @ 2015-02-28 09:59 NickyYe 阅读(261) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/validate-binary-search-tree/Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is ... 阅读全文
posted @ 2015-02-27 20:35 NickyYe 阅读(273) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/binary-tree-level-order-traversal-ii/Given a binary tree, return thebottom-up level ordertraversal of its nodes' valu... 阅读全文
posted @ 2015-02-27 14:28 NickyYe 阅读(226) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/binary-tree-level-order-traversal/Given a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from... 阅读全文
posted @ 2015-02-27 13:38 NickyYe 阅读(276) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/binary-search-tree-iterator/Implement an iterator over a binary search tree (BST). Your iterator will be initialized ... 阅读全文
posted @ 2015-02-26 16:43 NickyYe 阅读(603) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/anagrams/Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-... 阅读全文
posted @ 2015-02-25 21:16 NickyYe 阅读(534) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/add-binary/ Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100 阅读全文
posted @ 2015-02-24 20:30 NickyYe 阅读(292) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/balanced-binary-tree/Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced bina... 阅读全文
posted @ 2015-02-24 17:14 NickyYe 阅读(236) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/minimum-depth-of-binary-tree/Given a binary tree, find its minimum depth.The minimum depth is the number of nodes alo... 阅读全文
posted @ 2015-02-24 15:57 NickyYe 阅读(308) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/reverse-nodes-in-k-group/ Given a linked list, reverse the nodes of a linked list k at a time and return its modified 阅读全文
posted @ 2015-02-22 17:11 NickyYe 阅读(292) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/merge-k-sorted-lists/Mergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.... 阅读全文
posted @ 2015-02-21 21:16 NickyYe 阅读(277) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 9 10 下一页