- 博客(13)
- 资源 (4)
- 收藏
- 关注
原创 leetcode oj java - Rotate Array
问题描述:Rotate ArrayRotate an array of n elements to the right by k steps.For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4].解决方案:做三次reverse,第一次r
2015-11-23 17:12:57 376 1
原创 leetcode oj java Excel Sheet Column Title
问题描述:Excel Sheet Column TitleGiven a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 ->
2015-11-23 09:38:12 293
原创 leetcode oj java Submission Details
问题描述:Add BinaryGiven two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100"代码:public class Solution { static public char[] coun
2015-11-22 22:50:52 343
原创 leetcode oj java Remove Nth Node From End of List
问题描述:Remove Nth Node From End of ListGiven a linked list, remove the nth node from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. Aft
2015-11-22 21:51:51 384
原创 leetcode oj java Rectangle Area
问题:Find the total area covered by two rectilinear rectangles in a 2D plane.Each rectangle is defined by its bottom left corner and top right corner as shown in the figure.Assume that
2015-11-22 21:09:07 472
原创 leetcode oj java Path Sum
问题描述:Path SumGiven a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.For example:Given the bel
2015-11-18 22:03:10 428
原创 mallet 简析 1
最近一直在学习LDA 看来blei的C代码和matlab代码,matlab 的速度真是慢的不行,找到了MALLET ,想看详细分析,可惜网上大都是mallet的使用,自己就按照自己的理解把其过程简要的写出来
2015-11-18 09:12:25 2339 1
原创 leetcode oj java Implement Stack using Queues
问题描述:Implement Stack using QueuesImplement the following operations of a stack using queues.push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top()
2015-11-17 21:26:51 411
原创 leetcode OJ java Binary Tree Level Order Traversal
题目:Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree {3,9,20,#,#,15,7}, 3 / \ 9
2015-11-17 18:59:25 412
原创 Unbound classpath variable: 'M2_REPO' in project ....
问题: build mallet 的时候报错 Unbound classpath variable: 'M2_REPO' in project .....解决:缺少变量M2_REPO 加上即可步骤: Window - preferences - Java - Build path - Classpath Variable -New Name : M2
2015-11-16 17:56:01 1050
原创 MATLAB r2012 B
http://yunpan.cn/cjxsihEfB2zSg 访问密码 1c9f 网盘中的下载地址,推荐这个版本应为在run 的时候有RUN AND TIME 的选项,可以分别查看每条指令的运行时间。
2015-11-16 09:22:32 588
原创 Eclipse debug 查看变量
问题: Eclipse debug 查看变量值方法:有两种方法:1、 鼠标停留在所要查看的变量上,会显示变量的内容2、方法1虽然方便,但是鼠标移走之后不再显示 ,我们可以选中变量,右键选择Watch,右侧视图中会出现该变量所有内容。
2015-11-15 11:44:20 20988
原创 QT creator debug 查看数组变量数组
问题描述:在使用QT 调试的时候,右侧显示变量的地方不能显示数组中的具体值解决方法: 右键单击右侧显示变量的空白的地方 选择 Insert New Expression Evaluator 在弹出的对对话框中输入索要查看的数组名@数组长度 例如 : phi@20 二维数组只能一列一列查看 例如 theta[1]@20
2015-11-15 10:46:12 9855
神经网络LSTM 时间预测
2017-08-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人