题目: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your m ...
分类:
编程语言 时间:
2017-07-09 21:57:40
阅读次数:
108
https://leetcode.com/problems/multiply-strings/#/description Given two non-negative integers num1 and num2 represented as strings, return the product ...
分类:
其他好文 时间:
2017-07-09 12:38:23
阅读次数:
107
题目内容 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 c ...
分类:
其他好文 时间:
2017-07-08 15:15:33
阅读次数:
183
Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 4224 Accepted: 1308 Description Input is the matrix A of N by N non-negative integers. A di ...
分类:
其他好文 时间:
2017-07-07 23:28:04
阅读次数:
245
Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: 思路: 模拟手工加法过程,用carry表示进位。 第一个是自己写的,比较啰嗦。 第二 ...
分类:
其他好文 时间:
2017-07-05 23:41:38
阅读次数:
201
Alyona's mother wants to present an array of n non-negative integers to Alyona. The array should be special. Alyona is a capricious girl so after she ...
分类:
其他好文 时间:
2017-07-04 15:00:37
阅读次数:
177
Given a non-negative integer c, your task is to decide whether there're two integers a and b such that a2 + b2 = c. Example 1: Example 2: 思路: 类似于二分查找。 ...
分类:
其他好文 时间:
2017-07-02 13:04:36
阅读次数:
126
之前写过两篇文章。各自是 1)矩阵分解的综述:scikit-learn:2.5.矩阵因子分解问题 2)关于TruncatedSVD的简介:scikit-learn:通过TruncatedSVD实现LSA(隐含语义分析) 今天发现NMF也是一个非常好非常有用的模型,就简介一下。它也属于scikit-l ...
分类:
其他好文 时间:
2017-07-01 21:44:50
阅读次数:
181
题目: Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest form ...
分类:
编程语言 时间:
2017-07-01 11:49:49
阅读次数:
175
The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total num ...
分类:
其他好文 时间:
2017-07-01 09:47:51
阅读次数:
145