Geek

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页

2020年10月3日 #

摘要: https://www.rabbitmq.com/getstarted.html 具体要看官方链接: 直连模式: 工作模式 阅读全文
posted @ 2020-10-03 22:46 .geek 阅读(193) 评论(0) 推荐(0)

2020年9月12日 #

摘要: 1. 使用 tryLock 解决,如果 拿不到锁,就释放资源 阅读全文
posted @ 2020-09-12 11:01 .geek 阅读(236) 评论(0) 推荐(0)

2020年8月16日 #

摘要: markdown文本 解析 <div id="test-editor"> <textarea style="display:none;">### 关于 Editor.md **Editor.md** 是一款开源的、可嵌入的 Markdown 在线编辑器(组件),基于 CodeMirror、jQuer 阅读全文
posted @ 2020-08-16 15:20 .geek 阅读(1191) 评论(6) 推荐(0)

2020年8月10日 #

摘要: spring Cloud篇 spring cloud的问题 被动修复 bugs, 不再接受合并请求,不再发布新版本,所以,可以使用一些新的框架 Eureka 是服务注册中心,目前已经停更,可以使用其他的注册中心 使用 zookeeper 来作为服务注册, Nacos也可以用来替代 Eureka 服务 阅读全文
posted @ 2020-08-10 20:38 .geek 阅读(113) 评论(0) 推荐(0)

2020年7月18日 #

摘要: 老鼠和毒药问题 有 100 个瓶子,1瓶毒药,99都是水,请问,要多少只老鼠可以试出毒药。 答: 100 化成二进制是 1100100 7个位,因此只要7个老鼠, 每个瓶子都有唯一的二进制编号,将 7个老鼠按照二进制编号去喝,然后死了的序列就是毒药的序列。 这是一个二进制问题。 阅读全文
posted @ 2020-07-18 23:31 .geek 阅读(400) 评论(0) 推荐(0)

2020年7月15日 #

摘要: 访问网址时的请求,请求的内容就大概是这个样子了,那么这个时候要表示这个请求。 package tomcat; import java.io.IOException; import java.io.InputStream; /** * @Author lyr * @create 2020/7/15 2 阅读全文
posted @ 2020-07-15 23:37 .geek 阅读(148) 评论(0) 推荐(0)

摘要: class Solution { public int scoreOfParentheses(String S) { //定义 ( 为 0 Deque<Integer> s = new LinkedList<>(); s.push(0); for(char c : S.toCharArray()) 阅读全文
posted @ 2020-07-15 20:58 .geek 阅读(166) 评论(0) 推荐(0)

摘要: class Solution { public boolean validateStackSequences(int[] pushed, int[] popped) { Deque<Integer> q = new LinkedList<>(); int N = pushed.length; int 阅读全文
posted @ 2020-07-15 20:47 .geek 阅读(109) 评论(0) 推荐(0)

摘要: /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */ 阅读全文
posted @ 2020-07-15 20:33 .geek 阅读(116) 评论(0) 推荐(0)

摘要: /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */ 阅读全文
posted @ 2020-07-15 20:16 .geek 阅读(118) 评论(0) 推荐(0)

上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页