码迷,mamicode.com
首页 >  
搜索关键字:marriage match ii    ( 11687个结果
[leetcode]Remove Duplicates from Sorted List II @ Python
原题地址:https://oj.leetcode.com/problems/remove-duplicates-from-sorted-list-ii/题意:Given a sorted linked list, delete all nodes that have duplicate number...
分类:编程语言   时间:2014-06-16 10:40:35    阅读次数:340
[leetcode]Search in Rotated Sorted Array II @ Python
原题地址:https://oj.leetcode.com/problems/search-in-rotated-sorted-array-ii/题意:Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed...
分类:编程语言   时间:2014-06-16 08:20:54    阅读次数:307
PHP小函数集-篇一
一、 验证 /** * 判断用户名是否规范 */ function is_username($username) { if (preg_match("/^[a-zA-Z]{1}([0-9a-zA-Z]|[._]){3,19}$/",$username)...
分类:Web程序   时间:2014-06-12 22:53:22    阅读次数:221
[leetcode]Jump Game II @ Python
原题地址:https://oj.leetcode.com/problems/jump-game-ii/题意:Given an array of non-negative integers, you are initially positioned at the first index of the ...
分类:编程语言   时间:2014-06-12 17:38:49    阅读次数:323
PHP XML To Array将XML转换为数组
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
Leetcode:Reverse Linked List II 反转链表区间
Reverse Linked List IIReverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given 1->2->3->4->5->NULL, m= 2 andn= 4,retu...
分类:其他好文   时间:2014-06-12 07:03:54    阅读次数:308
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!