摘要: ssm的框架整合 http://edu.51cto.com/center/course/lesson/index?id=76468 学java http://www.runoob.com/java/java-tutorial.html 阅读全文
posted @ 2017-12-14 14:56 yunyouhua 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 242. Convert Binary Tree to Linked Lists by Depth Given a binary tree, design an algorithm which creates a linked list of all the nodes at each depth 阅读全文
posted @ 2017-12-11 22:49 yunyouhua 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 597. 具有最大平均数的子树 1 /** 2 * Definition of TreeNode: 3 * public class TreeNode { 4 * public int val; 5 * public TreeNode left, right; 6 * public TreeNode 阅读全文
posted @ 2017-11-23 09:40 yunyouhua 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 安装环境 https://www.youtube.com/watch?v=avEDRh8gGGY 8:25这里写错了,应该是sudo nano /etc/apache2/apache2.conf 安装tomcat:https://www.youtube.com/watch?v=26ipmonPmRw 阅读全文
posted @ 2017-11-20 17:22 yunyouhua 阅读(128) 评论(0) 推荐(0) 编辑
摘要: https://www.youtube.com/watch?v=B1s8p3APfXk 阅读全文
posted @ 2017-10-30 15:37 yunyouhua 阅读(89) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/almost_mr/article/details/53958940 如果在目录下使用 scrapy crawl comment -o comment.csv 则不用写piplines,这样就够用了。 settings里写入user_agent,取消item 阅读全文
posted @ 2017-09-28 17:48 yunyouhua 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 2017-9-27 Insert into a Cyclic Sorted List Given a node from a cyclic linked list which has been sorted, write a function to insert a value into the l 阅读全文
posted @ 2017-09-27 19:13 yunyouhua 阅读(446) 评论(0) 推荐(0) 编辑
摘要: skl4 # -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ import numpy as np from sklearn import datasets from sklearn.cross 阅读全文
posted @ 2017-09-23 20:45 yunyouhua 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 2017/9/6 二维数组中的查找 m*n 在一个二维数组中,每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。 找是否存在target 我的想法,for循环判断每行首尾,再进行二分 O(m*logn) 1 public class Solution { 2 public bo 阅读全文
posted @ 2017-09-06 17:36 yunyouhua 阅读(182) 评论(0) 推荐(0) 编辑
摘要: public class Solution { public List<String> generateParenthesis(int n) { List<String> results = new ArrayList<>(); if (n == 0) { return results; } gen 阅读全文
posted @ 2017-06-30 15:57 yunyouhua 阅读(99) 评论(0) 推荐(0) 编辑