原题地址:https://oj.leetcode.com/problems/maximum-depth-of-binary-tree/题意:Given
a binary tree, find its maximum depth.The maximum depth is the number of n...
分类:
编程语言 时间:
2014-06-12 13:55:34
阅读次数:
210
Given an array of strings, return all groups of
strings that are anagrams.Note: All inputs will be in lower-case.题解:
判断字符串是否为回文构词法生成的。找出所有由同一回文构词法生成的字...
分类:
其他好文 时间:
2014-06-12 13:51:32
阅读次数:
200
计算Pan手势到指定点的角度效果图:源码:////
RootViewController.m// Circle//// Copyright (c) 2014年 Y.X. All rights
reserved.//#import "RootViewController.h"#import "R...
分类:
其他好文 时间:
2014-06-12 13:39:03
阅读次数:
390
1 // Xml 转 数组, 包括根键,忽略空元素和属性,尚有重大错误 2 function
xml_to_array( $xml ) 3 { 4 $reg = "/]*?>([\\x00-\\xFF]*?)/"; 5
if(preg_match_all($reg, $xml, $...
分类:
Web程序 时间:
2014-06-12 13:16:05
阅读次数:
260
刚投了一个实习简历,被电话打过来问了几个问题,外面下着大雨,一开始也没听见。。问的是几个python的问题,被问傻了,哎,写下来记住。1
lambda匿名函数使用Python写一些执行脚本时,使用lambda可以省去定义函数的过程,让代码更加精简。对于一些抽象的,不会别的地方再复用的函数,有时候给函...
分类:
编程语言 时间:
2014-06-12 12:13:31
阅读次数:
243
select * From
apps.po_requisitions_interface_all----------------------------------------------------------------select
e.*from apps.po_requisitions_in...
分类:
数据库 时间:
2014-06-12 11:08:15
阅读次数:
221