CakeTime Limit:4 Seconds Memory Limit:65536 KBAlice and Bob like eating cake very much. One day, Alice and Bob went to a bakery and bought many cakes....
分类:
其他好文 时间:
2015-10-15 23:24:37
阅读次数:
264
背景:dataMatrix是(100,3)的列表,labelMat是(1,100)的列表,weights是(3,1)的数组,属性如下代码所示:>>> import types>>> type(dataMatrix)>>> type(labelMat)>>> type(weights)我的代码:>>>...
分类:
编程语言 时间:
2015-10-10 00:21:34
阅读次数:
8404
[Problem]Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists....
分类:
其他好文 时间:
2015-10-10 00:20:16
阅读次数:
193
1.合并两个排好序的listMerge Two Sorted ListsMerge two sorted linked lists and return it as a new list. The new list should be made by splicing together the no...
分类:
其他好文 时间:
2015-10-08 22:44:55
阅读次数:
207
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.分析:思路比较简单...
分类:
其他好文 时间:
2015-10-06 20:56:29
阅读次数:
207
Given an array of strings, group anagrams together.For example, given:["eat", "tea", "tan", "ate", "nat", "bat"],Return:[ ["ate", "eat","tea"], ["na.....
分类:
其他好文 时间:
2015-10-04 21:00:40
阅读次数:
255
Tuple An immutable data value that contains related elements. Tuples are used to group together related data, such as a person's name, their age, and ...
分类:
其他好文 时间:
2015-10-02 12:30:21
阅读次数:
203
Given an array of strings, group anagrams together.For example, given:["eat", "tea", "tan", "ate", "nat", "bat"],Return: 1 class Solution { 2 public: ...
分类:
其他好文 时间:
2015-10-01 06:56:21
阅读次数:
216
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 把两个排列好的链...
分类:
其他好文 时间:
2015-09-25 20:28:26
阅读次数:
170
Problem DescriptionIn the Dark forest, there is a Fairy kingdom where all the spirits will go together and Celebrate the harvest every year. But there...
分类:
其他好文 时间:
2015-09-23 21:11:02
阅读次数:
315