2018年9月17日

图的邻接矩阵存储与链表存储以及深度优先与广度优先遍历

摘要: 一、 图的两种存储方法 1、邻接矩阵 2、链表法 二、图的深度优先遍历 1、原理 2、例字A 3、例子B 三、图的广度优先遍历 1、原理 2、例字A 3、例子B 阅读全文

posted @ 2018-09-17 15:47 ming_jia 阅读(556) 评论(0) 推荐(0)

2018年9月15日

leetcode 1. Two Sum

摘要: 1. Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wo 阅读全文

posted @ 2018-09-15 14:45 ming_jia 阅读(126) 评论(0) 推荐(0)

leetcode 462. Minimum Moves to Equal Array Elements II

摘要: 这道题目和leetcode453是有联系的,虽然这道题难度为中等,但是我感觉初等难度的453绕的弯子更大一些。 题目:Given a non-empty integer array, find the minimum number of moves required to make all arra 阅读全文

posted @ 2018-09-15 09:33 ming_jia 阅读(183) 评论(0) 推荐(0)

2018年9月14日

leetcoode刷题 453. Minimum Moves to Equal Array Elements

摘要: 453. Minimum Moves to Equal Array Elements Given a non-empty integer array of size n, find the minimum number of moves required to make all array elem 阅读全文

posted @ 2018-09-14 23:59 ming_jia 阅读(213) 评论(0) 推荐(0)

2018年9月13日

深入学习java并发之线程池

摘要: 这篇文章将从以下几个方面讲述Excutor框架以及线程池: 。。。。 一、首先来看一下Executor框架的基本组成: 1. Executor是一个基础的接口,设计它的目的就是将任务的提交与任务的执行解耦,所以这个接口里就只定义了一个方法:excute(Runaable command); 源码: 阅读全文

posted @ 2018-09-13 14:49 ming_jia 阅读(283) 评论(1) 推荐(0)

2018年9月7日

Spring整体框架

摘要: Spring整体框架思维导图(未完待续。。。) 阅读全文

posted @ 2018-09-07 23:40 ming_jia 阅读(124) 评论(0) 推荐(0)

Bean的scope

摘要: Bean 的作用域singleton、prototype、request、session、global session 的思维导图。 阅读全文

posted @ 2018-09-07 23:33 ming_jia 阅读(87) 评论(0) 推荐(0)

导航