- 博客(7)
- 收藏
- 关注
转载 Leetcode #557. Reverse Words in a String III
Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order. Example 1: Input: "Let's take LeetCode con...
2018-03-05 14:17:00 88
转载 tensorflow——创建和操控张量
以下内容摘自Google开发者网站课程——机器学习速成课程 TensorFlow 的名称源自张量,张量是任意维度的数组。借助 TensorFlow,您可以操控具有大量维度的张量。即便如此,在大多数情况下,您会使用以下一个或多个低维张量: 标量是零维数组(零阶张量)。例如,\'Howdy\'或5 矢量是一维数组(一阶张量)。例如,[2, 3, 5, 7, 11]或[...
2018-03-01 17:13:00 114
转载 Leetcode #728. Self Dividing Numbers
Aself-dividing numberis a number that is divisible by every digit it contains. For example, 128 is a self-dividing number because128 % 1 == 0,128 % 2 == 0, and128 % 8 == 0. Also, a self-di...
2018-02-28 22:02:00 84
转载 Leetcode #771. Jewels and Stones
You're given stringsJrepresenting the types of stones that are jewels, andSrepresenting the stones you have. Each character inSis a type of stone you have. You want to know how many of the...
2018-02-26 20:03:00 76
转载 Leetcode #561. Array Partition I
Given an array of2nintegers, your task is to group these integers intonpairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which makes sum of min(ai, bi) for all i from 1 to n as large as...
2017-08-17 16:30:00 77
转载 Leetcode #461. Hamming Distance
TheHamming distancebetween two integers is the number of positions at which the corresponding bits are different. Given two integersxandy, calculate the Hamming distance. Note:0 ≤x,y&l...
2017-08-17 15:38:00 87
转载 LeetCode #1 Two Sum
Given an array of integers, returnindicesof the two numbers such that they add up to a specific target. You may assume that each input would haveexactlyone solution, and you may not use the...
2017-06-27 21:05:00 58
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人