码迷,mamicode.com
首页 >  
搜索关键字:目录索引    ( 299个结果
【LeetCode-面试算法经典-Java实现】【116-Populating Next Right Pointers in Each Node(二叉树链接右指针)】
【116-Populating Next Right Pointers in Each Node(二叉树链接右指针)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right;...
分类:编程语言   时间:2015-08-12 07:51:31    阅读次数:161
【LeetCode-面试算法经典-Java实现】【113-Path Sum II(路径和)】
【113-Path Sum II(路径和II)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a binary tree and a sum, find all root-to-leaf paths where each path’s sum equals the given sum.   For example:   Given the below b...
分类:编程语言   时间:2015-08-12 07:49:38    阅读次数:150
【LeetCode-面试算法经典-Java实现】【114-Flatten Binary Tree to Linked List(二叉树转单链表)】
【114-Flatten Binary Tree to Linked List(二叉树转单链表)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a binary tree, flatten it to a linked list in-place.   For example,   Given 1 / 2...
分类:编程语言   时间:2015-08-12 07:49:13    阅读次数:183
【LeetCode-面试算法经典-Java实现】【110-Balanced Binary Tree(平衡二叉树)】
【110-Balanced Binary Tree(平衡二叉树)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a binary tree, determine if it is height-balanced.   For this problem, a height-balanced binary tree is defined as a binary...
分类:编程语言   时间:2015-08-11 08:34:51    阅读次数:252
【LeetCode-面试算法经典-Java实现】【112-Path Sum(路径和)】
【112-Path Sum(路径和)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given...
分类:编程语言   时间:2015-08-11 08:34:13    阅读次数:147
【LeetCode-面试算法经典-Java实现】【111-Minimum Depth of Binary Tree(二叉树的最小深度)】
【111-Minimum Depth of Binary Tree(二叉树的最小深度)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a binary tree, find its minimum depth.   The minimum depth is the number of nodes along the shortest path from t...
分类:编程语言   时间:2015-08-11 08:33:30    阅读次数:128
【LeetCode-面试算法经典-Java实现】【107-Binary Tree Level Order Traversal II(二叉树层序遍历II)】
【107-Binary Tree Level Order Traversal II(二叉树层序遍历II)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a binary tree, return the bottom-up level order traversal of its nodes’ values. (ie, from left to right,...
分类:编程语言   时间:2015-08-10 08:17:39    阅读次数:169
【LeetCode-面试算法经典-Java实现】【108-Convert Sorted Array to Binary Search Tree(排序数组转变为平衡二叉树)】
【108-Convert Sorted Array to Binary Search Tree(排序数组转变为平衡二叉树)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given an array where elements are sorted in ascending order, convert it to a height balanced BST. 题目...
分类:编程语言   时间:2015-08-10 08:15:28    阅读次数:136
【LeetCode-面试算法经典-Java实现】【109-Convert Sorted List to Binary Search Tree(排序链表转换成二叉排序树)】
【109-Convert Sorted List to Binary Search Tree(排序链表转换成二叉排序树)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a singly linked list where elements are sorted in ascending order, convert it to a height balanc...
分类:编程语言   时间:2015-08-10 08:14:28    阅读次数:157
【LeetCode-面试算法经典-Java实现】【070-Set Matrix Zeroes(矩阵置零)】
【070-Set Matrix Zeroes(矩阵置零)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. 题目大意  给定一个m*n的矩阵,如果某个位置是0。将对应的行和列设置为0。...
分类:编程语言   时间:2015-08-09 07:13:48    阅读次数:157
299条   上一页 1 ... 17 18 19 20 21 ... 30 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!