码迷,mamicode.com
首页 >  
搜索关键字:i need a offer    ( 7760个结果
I Think I Need a Houseboat
I Think I Need a Houseboat 个人信息:就读于燕大本科软件工程专业 目前大三; 本人博客:google搜索“cqs_2012”即可; 个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献; 编程语言:java ; 编程坏境:Windows 7 专业版 x64; 编程工具:eclipse; 制图工具:office 2...
分类:其他好文   时间:2014-07-08 21:22:35    阅读次数:183
【剑指offer】Q18:树的子结构
类似于字符串的匹配,我们总是找到第一个匹配的字符,在继续比较以后的字符是否全部相同,如果匹配串的第一个字符与模式串的第一个不相同,我们就去查看匹配串的下一个字符是否与模式串的第一个相同,对应到这里,就是我们要遍历root1,找到与root2相同的第一个结点,若root1的根不相同,那么我们查找其左子树是否有第一个相同的,相同的操作再去看右子树是否有相同的第一个,若找到了第一个相同的,与字符串匹配思...
分类:其他好文   时间:2014-07-08 20:43:26    阅读次数:216
【剑指offer】Q17:合并两个排序的链表
def Merge(head1, head2): if head1 == None: return head2 if head2 == None: return head1 psuhead = ListNode(-1) tail = psuhead while head1 and head2: if head1.val < head2.val: cur = head1 ...
分类:其他好文   时间:2014-07-08 18:46:04    阅读次数:227
待机状态下,服务类型 WCDMA Service type in Idle mode
Services aredistinguished into categories defined in [7]; also the categorisation of cellsaccording to services they can offer is provided in [7]. -     Normal Service. A UE camped on a suitable cell...
分类:其他好文   时间:2014-07-08 18:18:03    阅读次数:171
【剑指offer】第一个只出现一次的数
def FirstNotRepeatingChar(string): hashStr = [0] * 256 for c in string: hashStr[ord(c)] += 1 for c in string: if hashStr[ord(c)] == 1: return c 这里说下ord, 可以作为atoi来用,功能是若给定的参数是一个长度为1的字符串,那么若...
分类:其他好文   时间:2014-07-08 16:15:10    阅读次数:183
【剑指offer】Q16:翻转链表
def reverse(head): if head == None or head.next == None: return head psuhead = ListNode(-1) while head: nexthead = head.next head.next = psuhead.next psuhead.next = head head = nexthead ...
分类:其他好文   时间:2014-07-08 15:27:58    阅读次数:183
【剑指offer】数组中的逆序对
# @left part: [start, mid] # @right part: (mid, end] def merge(data, start, mid, end): if mid < start or end < mid: return 0 reverse = 0 ''' @ for start, it play as the start index of left par...
分类:其他好文   时间:2014-07-08 15:04:06    阅读次数:204
【剑指offer】Q19:二叉树的镜像
def MirroRecursively(root): # root is None or just one node, return root if None == root or None == root.left and None == root.right: return root root.left, root.right = root.right, root.left Mi...
分类:其他好文   时间:2014-07-08 14:26:08    阅读次数:221
【剑指offer】连续子数组的最大和
转载请注明出处:http://blog.csdn.net/ns_code/article/details/27103959题目描写叙述:HZ偶尔会拿些专业问题来忽悠那些非计算机专业的同学。今天JOBDU測试组开完会后,他又发话了:在古老的一维模式识别中,经常须要计算连续子向量的最大和,当向量全为正数...
分类:其他好文   时间:2014-07-08 00:51:25    阅读次数:353
【转】必需知道的 SharePoint 权限 Tips
SharePoint Tips about Permissions: What you need to knowI have been writing tips about SharePoint from last two years now. After a great popularity an...
分类:其他好文   时间:2014-07-08 00:36:33    阅读次数:262
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!