码迷,mamicode.com
首页 >  
搜索关键字:zigzag level order t    ( 24142个结果
poj_1018_多种方法求解
Communication SystemTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 22445Accepted: 7977DescriptionWe have received an order from Pizoor Comm....
分类:其他好文   时间:2014-05-20 07:37:17    阅读次数:454
Java基础知识
volatile:java关键字,意为易变的,不稳定的,标识修饰java同步字段,示例:java单利模式public class ApplicationCache{ private Map attributeMap; // volatile so that JVM out-of-order...
分类:编程语言   时间:2014-05-19 14:56:56    阅读次数:334
【转】matlab读取文件各种方法
本技术支持指南主要处理:ASCII, binary, and MAT files.要得到MATLAB中可用来读写各种文件格式的完全函数列表,可以键入以下命令: help iofun MATLAB中有两种文件I/O程序:high level and low level. High leve...
分类:其他好文   时间:2014-05-19 14:01:25    阅读次数:393
LeetCode:Add Two Numbers
题目链接 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a si...
分类:其他好文   时间:2014-05-19 13:53:32    阅读次数:296
poj 3177 Redundant Paths
DescriptionIn order to get from one of the F (1 2 and 1 –> 6 –> 5 –> 21 – 4: 1 –> 2 –> 3 –> 4 and 1 –> 6 –> 5 –> 43 – 7: 3 –> 4 –> 7 and 3 –> 2 –> 5 ....
分类:其他好文   时间:2014-05-19 12:43:06    阅读次数:200
【LeetCode】Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2014-05-19 12:05:23    阅读次数:386
LeetCode--Binary Tree Level Order Traversal
Binary Tree Level Order Traversal  Total Accepted: 12441 Total Submissions: 40879My Submissions Given a binary tree, return the level order traversal of its nodes' values. (ie, from left t...
分类:其他好文   时间:2014-05-18 10:11:13    阅读次数:337
LeetCode: Valid Parentheses [020]
【题目】 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the correct order, "()" and "()[]{}" are all valid but "(]" and "([)]" are not. 【题意】 判断给定的字符串是否是合法的...
分类:其他好文   时间:2014-05-18 10:08:11    阅读次数:327
leetcode -day16 ZigZag Conversion
1、 ?? ZigZag Conversion The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibili...
分类:其他好文   时间:2014-05-18 07:56:49    阅读次数:407
LeetCode 015 3Sum
【题目】 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: Elements in a triplet (a,b,c) must be in non-descending order. (ie, a ≤ b ≤ c) The so...
分类:其他好文   时间:2014-05-18 03:15:50    阅读次数:287
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!