原文:[LeetCode] Populating Next Right Pointers in Each Node I, II

题目: Given a binary tree Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set toNULL. Initially, all next pointers are set toNULL. ...

2014-04-06 05:37 0 6209 推荐指数:

查看详情

LeetCode:Subsets I II

求集合的所有子集问题 LeetCode:Subsets Given a set of distinct integers, S, return all possible subsets. Note: Elements in a subset must ...

Sun Dec 01 07:01:00 CST 2013 3 8142
LeetCode:Word Ladder I II

其他LeetCode题目欢迎访问:LeetCode结题报告索引 LeetCode:Word Ladder Given two words (start and end), and a dictionary, find the length of shortest transformation ...

Wed Nov 27 00:06:00 CST 2013 5 10204
[LeetCode] Paint House I & II

Paint House There are a row of n houses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house ...

Sun Sep 06 18:56:00 CST 2015 0 2002
LeetCode:Jump Game I II

Jump Game Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array ...

Sat May 10 05:07:00 CST 2014 0 3238
LeetCode】打家劫舍系列(III、III)

  打家劫舍(House Robber)是LeetCode上比较典型的一个题目,涉及三道题,主要解题思想是动态规划,将三道题依次记录如下: (一)打家劫舍 题目等级:198、House Robber(Easy) 题目描述: You are a professional robber ...

Mon Jul 15 20:13:00 CST 2019 0 1865
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM