上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 27 下一页
摘要: Rotate ArrayRotate an array ofnelements to the right byksteps.For example, withn= 7 andk= 3, the array[1,2,3,4,5,6,7]is rotated to[5,6,7,1,2,3,4].Note... 阅读全文
posted @ 2015-03-27 22:49 陆草纯 阅读(1248) 评论(0) 推荐(0) 编辑
摘要: Reverse BitsReverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as000000101001010000011110100111... 阅读全文
posted @ 2015-03-21 12:18 陆草纯 阅读(580) 评论(0) 推荐(0) 编辑
摘要: Number of 1 BitsWrite a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as theHamming weight).For exampl... 阅读全文
posted @ 2015-03-21 11:57 陆草纯 阅读(215) 评论(0) 推荐(0) 编辑
摘要: #include // std::cout#include // std::vectorusing namespace std;int main () { vector > theta; theta.resize(1, vector(2, 1)); thet... 阅读全文
posted @ 2015-03-02 15:57 陆草纯 阅读(1104) 评论(0) 推荐(0) 编辑
摘要: Dungeon GameThe demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms l... 阅读全文
posted @ 2015-01-18 14:40 陆草纯 阅读(1996) 评论(0) 推荐(0) 编辑
摘要: Largest NumberGiven a list of non negative integers, arrange them such that they form the largest number.For example, given[3, 30, 34, 5, 9], the larg... 阅读全文
posted @ 2015-01-16 15:17 陆草纯 阅读(1418) 评论(2) 推荐(0) 编辑
摘要: Exercise:Convolution and Pooling习题链接:Exercise:Convolution and PoolingcnnExercise.m%% CS294A/CS294W Convolutional Neural Networks Exercise% Instructio... 阅读全文
posted @ 2015-01-13 18:13 陆草纯 阅读(1094) 评论(0) 推荐(0) 编辑
摘要: Exercise:Learning color features with Sparse Autoencoders习题链接:Exercise:Learning color features with Sparse AutoencoderssparseAutoencoderLinearCost.mfu... 阅读全文
posted @ 2015-01-12 12:21 陆草纯 阅读(802) 评论(0) 推荐(0) 编辑
摘要: Exercise: Implement deep networks for digit classification习题链接:Exercise: Implement deep networks for digit classificationstackedAEPredict.mfunction [p... 阅读全文
posted @ 2015-01-11 19:58 陆草纯 阅读(938) 评论(0) 推荐(0) 编辑
摘要: Exercise:Self-Taught Learning习题链接:Exercise:Self-Taught LearningfeedForwardAutoencoder.mfunction [activation] = feedForwardAutoencoder(theta, hiddenSiz... 阅读全文
posted @ 2015-01-10 11:29 陆草纯 阅读(438) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 27 下一页