题目标签:Array 题目给了我们一个数组 和 k。 让我们 旋转数组 k 次。 方法一: 这里有一个很巧妙的方法: 利用数组的length - k 把数组 分为两半; reverse 左边和右边的数组; reverse 总数组。 举一个例子: 1 2 3 4 5 6 7 如果k = 3 的话, 会 ...
分类:
其他好文 时间:
2018-02-12 15:08:51
阅读次数:
198
GOOGLE开发自己的加速机器学习的芯片已经不是什么秘密了,最先发布出来的是TPU(Tensor Processing Units)。在2016年5月I/O开发大会上发布的,可是没有发布相关的细节情况。仅仅是说T ensorFlow框架在上面执行机器学习算法能够优化执行。今天,GOOGLE第一次把这 ...
分类:
其他好文 时间:
2018-02-10 22:36:52
阅读次数:
166
报错:dpkg: error processing package ubuntu-core-launcher (--configure): dependency problems - leaving unconfiguredNo apport report written because the error message indicates its a followup error f
分类:
系统相关 时间:
2018-02-09 20:29:28
阅读次数:
1942
ERROR Dispatcher:38 - Exception occurred during processing request: id to load is required for loadingjava.lang.IllegalArgumentException: id to load i ...
分类:
其他好文 时间:
2018-02-07 19:47:27
阅读次数:
177
顶级的综合会议 ICML NIPS ICML: International Conference on Machine Learning NIPS:Neural Information Processing Systems顶级的理论会议 COLT COLT: Conference on Learni ...
分类:
其他好文 时间:
2018-02-06 14:24:00
阅读次数:
252
类似于找链表的后k个节点 不同的是要把前边的接到后边 ...
分类:
其他好文 时间:
2018-02-05 23:24:53
阅读次数:
182
Rotate Image 题解 题目来源:https://leetcode.com/problems/rotate image/description/ Description You are given an n x n 2D matrix representing an image. Rotat ...
分类:
其他好文 时间:
2018-02-05 10:43:02
阅读次数:
143
1.class的执行在Sun JDK中有解释执行和编译为机器码执行两种方式,其中编译为机器码又分为client和server两种模式 2.Java编码编译的三个步骤:分析和输入到符号表(Parse and Enter)、注解处理(Annotation Processing)、语义分析和生成class ...
分类:
其他好文 时间:
2018-01-31 14:38:06
阅读次数:
120
购买显卡主要关注:显存、带宽和浮点运算数量 GPU :图形处理器(英语:Graphics Processing Unit,缩写:GPU),又称显示核心、视觉处理器、显示芯片,是一种专门在个人电脑、工作站、游戏机和一些移动设备(如平板电脑、智能手机等)上图像运算工作的微处理器。 用途是将计算机系统所需 ...
分类:
其他好文 时间:
2018-01-29 22:32:38
阅读次数:
267
铭文一级: Spark Streaming is an extension of the core Spark API that enables scalable, high-throughput, fault-tolerant stream processing of live data stre ...
分类:
其他好文 时间:
2018-01-28 11:24:12
阅读次数:
210