码迷,mamicode.com
首页 >  
搜索关键字:zigzag level order t    ( 24142个结果
LeetCode: Search Insert Position [034]
【题目】 Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume no duplicates in the array. Here are few examples. [1,3,5,6], 5 → 2 [1,3,5,6]...
分类:其他好文   时间:2014-05-22 09:41:59    阅读次数:195
VB.NET版+三层实现登陆
三层已经学了一些时间了,开始觉得自己可以用C#写程序了,就用C#写了一个实现登陆的,真正再用在机房中,还是觉得很吃力的,所以,决定用vb.net敲了。下面是我用vb.net实现的登陆,可以给大家做一些参考。      这是构架的三层   数据库中的表T_User_DAL:UserI,Level,Password,Head,computer   首先看一下...
分类:Web程序   时间:2014-05-22 08:10:55    阅读次数:319
LeetCode: Search for a Range [033]
【题目】 Given a sorted array of integers, find the starting and ending position of a given target value. Your algorithm's runtime complexity must be in the order of O(log n). If the target is not found in the array, return [-1, -1]. For example, Given [5...
分类:其他好文   时间:2014-05-22 06:44:39    阅读次数:265
7.翻转句子中单词的顺序
Reverse the word order in a sentence, but maintain the character order inside a word.
分类:其他好文   时间:2014-05-22 03:50:14    阅读次数:289
6.二元查找树的后序遍历结果
Verify post-order sequence of binary search tree.
分类:其他好文   时间:2014-05-22 03:20:39    阅读次数:288
LeetCode: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 ...
分类:其他好文   时间:2014-05-22 01:55:19    阅读次数:320
12.从上往下遍历二元树
Visit a tree by level,namely BFS.
分类:其他好文   时间:2014-05-22 01:48:48    阅读次数:310
leetcode -day20 Add Two Numbers
1、 ?? 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 digit. Add the two num...
分类:其他好文   时间:2014-05-21 10:49:10    阅读次数:221
前端修炼(转)
看到一篇博文,受益匪浅,特此激励自己。内容转载自:BorisHuai前端修炼>如何成为前端开发高手HTML1. 标签的分类1. 标签表示一个元素2. 按性质划分: Block-Level和Inline-Level3. 按语义划分:Headings: h1, h2, h3, h4, h5, h6Par...
分类:其他好文   时间:2014-05-21 03:46:56    阅读次数:549
ASA 8.0命令解析
有些朋友对配防火墙还是有问题,其实配置ASA防火墙很简单,常用的命令有hostname、interface(ipaddress、noshutdown、nameif、security-level)、nat、global、route、static、access-list、access-group。下面来解析一台ASA8.0的配置ASAVersion8.0(2)//注意版本,8.3以后NAT命..
分类:其他好文   时间:2014-05-20 21:55:33    阅读次数:1000
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!