(为了节约空间,打印结果常用“...”表示省略) 加载数据集 1. 加载sklearn自带的数据集 scikit learn有一些自带的标准数据集,例如用于分类的经典数据集iris和digits以及用于回归的boston house prices数据集。 这些自带的数据集一种是类似字典的对象,它保存 ...
分类:
其他好文 时间:
2018-01-01 16:57:00
阅读次数:
334
Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note:Assume we are dealing with an environment which cou ...
分类:
其他好文 时间:
2017-12-31 18:35:29
阅读次数:
178
LeeCode是一个有意思的编程网站,主要考察程序员的算法 第二题: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse o ...
分类:
其他好文 时间:
2017-12-30 22:40:29
阅读次数:
207
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
其他好文 时间:
2017-12-24 14:46:34
阅读次数:
162
1. 原题链接 https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/ 2. 题目要求 给定一个数字字符串digits,每一个数字对应拨号键盘上的数字,每个数字又代表不同的字母。例如“3”代表“ ...
分类:
其他好文 时间:
2017-12-22 15:01:50
阅读次数:
111
Description You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their ...
分类:
其他好文 时间:
2017-12-20 13:52:43
阅读次数:
202
4168: Same Digits Time Limit(Common/Java):1000MS/3000MS Memory Limit:65536KByteTotal Submit: 115 Accepted:62 Description Your program will be given an ...
分类:
其他好文 时间:
2017-12-15 11:10:12
阅读次数:
111
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
其他好文 时间:
2017-12-14 00:01:15
阅读次数:
136
Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321 Example 3: Input: 1 ...
分类:
其他好文 时间:
2017-12-10 11:09:11
阅读次数:
126
Given two arrays of length m and n with digits 0-9 representing two numbers. Create the maximum number of length k <= m + nfrom digits of the two. The ...
分类:
其他好文 时间:
2017-12-09 13:05:31
阅读次数:
194