原文 Jeremy Hampden has a large circle of friends and is very popular at parties. Everybody admires him for his great sense of humor -- everybody, that is, except his six-year-old daughter, Jenny. ...
分类:
其他好文 时间:
2015-10-14 20:05:52
阅读次数:
229
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is1 -> 2 -> 3 -> ...
分类:
其他好文 时间:
2015-10-11 15:21:03
阅读次数:
279
Given an array ofnintegers wheren> 1,nums, return an arrayoutputsuch thatoutput[i]is equal to the product of all the elements ofnumsexceptnums[i].Solv...
分类:
其他好文 时间:
2015-10-08 06:49:11
阅读次数:
169
Complete Binary TreeAccording to wiki,A complete binary tree is a binary tree in which every level, except possibly the last, is completely filled, an...
分类:
其他好文 时间:
2015-10-07 06:20:24
阅读次数:
149
leetcode -Product of Array Except SelfGiven an array ofnintegers wheren> 1,nums, return an arrayoutputsuch thatoutput[i]is equal to the product of all...
分类:
其他好文 时间:
2015-10-03 18:04:48
阅读次数:
113
题目:Given an array ofnintegers wheren> 1,nums, return an arrayoutputsuch thatoutput[i]is equal to the product of all the elements ofnumsexceptnums[i].S...
分类:
其他好文 时间:
2015-09-30 08:31:33
阅读次数:
165
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is1 -> 2 -> 3 -> ...
分类:
其他好文 时间:
2015-09-24 22:41:53
阅读次数:
294
1. use try, except, finallytry: data=open('its.txt','w') print('its..', file=data)except: print('file error:', +str(err))finally: if 'data...
分类:
编程语言 时间:
2015-09-24 16:40:35
阅读次数:
222
1.SELECT * FROM a AS x, b AS y; 结果是显示自己和自己的笛卡尔乘积。2.Mysql 中不支持 SQL 的 INTERSECT(交集), EXCEPT(差),UNION(并集)关键字3.子查询
分类:
数据库 时间:
2015-09-21 19:28:54
阅读次数:
183
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/48598939
Given an array of n integers where n > 1, nums, return an array output such
that output[i] is equal to the pr...
分类:
其他好文 时间:
2015-09-20 20:51:49
阅读次数:
195