上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 34 下一页
摘要: 代码: from flask import Flask,render_template,jsonify from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app.config["SECRET_KEY"] = "hard" ap 阅读全文
posted @ 2020-06-11 11:26 alittlecomputer 阅读(104) 评论(0) 推荐(0)
摘要: 链接:https://www.cnblogs.com/yy3b2007com/p/7499410.html 阅读全文
posted @ 2020-06-08 06:29 alittlecomputer 阅读(38) 评论(0) 推荐(0)
摘要: 参考链接:https://blog.csdn.net/weixin_43092168/article/details/93176238 题目:给定二叉树,按垂序遍历返回其节点值。 对位于(X,Y)的每个结点而言,其左右子节点分别位于(X-1,Y-1)和(X+1,Y-1)。 把一条垂线从X=-infi 阅读全文
posted @ 2020-06-08 06:05 alittlecomputer 阅读(163) 评论(0) 推荐(0)
摘要: 代码: # encoding:utf-8 from bs4 import BeautifulSoup import requests, re, os, socket from urllib import request # 指定要下载的版本 element_ui_version = "2.13.0" 阅读全文
posted @ 2020-06-03 20:37 alittlecomputer 阅读(959) 评论(0) 推荐(0)
摘要: 代码: package com.niuke.p8; /** * reorder-list * @author Administrator * */ public class Solution { public void reorderList(ListNode head) { if(head == 阅读全文
posted @ 2020-06-02 06:35 alittlecomputer 阅读(67) 评论(0) 推荐(0)
摘要: 一、把一个数组的值赋给二叉树 1.1二叉树的构建 1.2 具体代码 package com.algo.binarytree; import java.util.LinkedList; import java.util.List; public class BinTreeTraverse { priv 阅读全文
posted @ 2020-06-02 05:55 alittlecomputer 阅读(445) 评论(0) 推荐(0)
摘要: 代码: package com.niuke.p7; import java.util.ArrayList; import java.util.Stack; public class Solution { public ArrayList<Integer> preorderTraversal (Tre 阅读全文
posted @ 2020-05-31 01:04 alittlecomputer 阅读(75) 评论(0) 推荐(0)
摘要: 代码: package com.niuke.p5; public class Solution { public ListNode insertionSortList(ListNode head) { ListNode dumpy = new ListNode(Integer.MIN_VALUE); 阅读全文
posted @ 2020-05-31 00:46 alittlecomputer 阅读(163) 评论(0) 推荐(0)
摘要: 代码: package com.niuke.p6; import java.util.ArrayList; import java.util.List; import java.util.Stack; /* * public class TreeNode { * int val = 0; * Tre 阅读全文
posted @ 2020-05-31 00:45 alittlecomputer 阅读(128) 评论(0) 推荐(0)
摘要: 算法:在O(n log n)的时间内使用常数级空间复杂度对链表进行排序 package com.niuke.p4; /* * public class ListNode { * int val; * ListNode next = null; * } */ public class Solution 阅读全文
posted @ 2020-05-29 22:57 alittlecomputer 阅读(151) 评论(0) 推荐(0)
摘要: redis中的数据都是以key/value的形式存储的,五大数据类型主要是指value的数据类型,包含如下五种: String String是redis中最基本的数据类型,redis中的String类型都是二进制安全的,即它可以包含任何数据,比如一个序列化的对象甚至一个jpg图片,要注意的是redi 阅读全文
posted @ 2020-05-18 14:31 alittlecomputer 阅读(123) 评论(0) 推荐(0)
摘要: redis简介: redis是一个缓存数据库,里面的数据都是字符串,使用key-value形式存储,使用redis缓存数据库可以提高系统的访问性能,一般开发时使用Windows下的redis服务器,生产时使用linux下的服务器。 一、下载Windows版本的redis 下载地址:https://g 阅读全文
posted @ 2020-05-18 12:01 alittlecomputer 阅读(533) 评论(0) 推荐(0)
摘要: Eureka-server对外提供Restful 的服务 http服务+特定的请求方式+特定的url地址 只要利用这些restful服务我们就能对项目实现注册和发现 只不过eureka已经帮我们使用java语言写了client,让我们的项目只要依赖client就能实现注册和发现。 只要你会发起htt 阅读全文
posted @ 2020-05-10 16:40 alittlecomputer 阅读(117) 评论(0) 推荐(0)
摘要: 服务注册 当项目一启动,向eureka-server发送自己的元数据,运行的ip,port,健康的监控数据,eureka-server在自己内部保存这些元数据。 服务续约(eureka-client) 项目启动成功了,也向eureka-server注册自己成功,项目还会定时的去eureka-serv 阅读全文
posted @ 2020-05-10 16:37 alittlecomputer 阅读(204) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-05-08 14:15 alittlecomputer 阅读(94) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 34 下一页