原创 5G是什麼?一篇文章搞定!

前言 前兩天在得到 APP 中看到了《前沿科技之吳軍講5G》,抱着「付費之後就能毫不費力、完全搞懂5G」的心情報名了。在上下班期間聽完了這個專欄,怎麼說呢……聽完了我還是不知道5G究竟是什麼……所以想研究下5G的底層原理。 文章都是自己的

原创 思維導圖學 Spring

說明 思維導圖使用 Xmind 製作,是記錄 極客時間 丁雪峯 玩轉Spring全家桶。 下載鏈接: Git 博客地址 思維導圖學 Spring 大綱 Lombok JDBC O/R Mapping 數據訪問進階 Web

原创 樂高玩具 拼裝感悟

上週四公司發了六一禮物——公司吉祥物的樂高積木。從來沒有拼過積木,以爲很簡單就能搞定,沒想到耗費了那麼長時間……在拼積木時有些感悟,記錄下來。其實整體並未完全按照說明書,因爲有一個步驟拼錯了,意識到的時候已經很難再改正了…… 步驟及成品 積

原创 萬維鋼《你有你的計劃,世界另有計劃》讀書筆記

前言 本書是萬維鋼老師的新書《你有你的計劃,世界另有計劃》的讀書筆記。 讀書筆記 如果你需要在散步的時候聽音樂,不要散步。而且,請不要聽音樂。《隨機生存的智慧》 理性,只不過是感情的武器。 自控的關鍵不是調動理性,而是調配感情。 正念自控

原创 10 分鐘 15 塊錢自建穩定的 VPN 服務

參考 本篇文章的操作步驟,幾乎完全參考自:https://forum.seerchain.org/t/topic/128 說明 一般僅需 15~30 塊錢/月,就能夠得到一個穩定的支持多設備的 VPN + 一臺國外服務器。配置需約 10 分

原创 LeetCode 975 Odd Even Jump

題目描述 You are given an integer array A. From some starting index, you can make a series of jumps. The (1st, 3rd, 5th, .

原创 LeetCode 974 Subarray Sums Divisible by K

題目描述 Given an array A of integers, return the number of (contiguous, non-empty) subarrays that have a sum divisible by K

原创 LeetCode 976 Largest Perimeter Triangle

題目描述 Given an array A of positive lengths, return the largest perimeter of a triangle with non-zero area, formed from 3

原创 LeetCode 949 Largest Time for Given Digits

題目描述 Given an array of 4 digits, return the largest 24 hour time that can be made. The smallest 24 hour time is 00:00, a

原创 LeetCode 951 Flip Equivalent Binary Trees

題目描述 For a binary tree T, we can define a flip operation as follows: choose any node, and swap the left and right child

原创 LeetCode 973 K Closest Points to Origin

題目描述 We have a list of points on the plane. Find the K closest points to the origin (0, 0). (Here, the distance between

原创 Java LinkedHashMap 源碼分析

Demo @Test public void testLinkedHashMap() { Map<String, Integer> map = new LinkedHashMap<String, Integer>() {

原创 Java 優先隊列 PriorityQueue PriorityBlockingQueue 源碼分析

基本使用 @Test public void testPriorityQueue() throws InterruptedException { PriorityQueue priorityQueue = new PriorityQ

原创 ThreadLocal 源碼分析

Demo public class ThreadLocalMain { public static void main(String[] args) { ThreadLocal<String> threadLoca

原创 Java 面試題彙總(持續更新)

談談你對Java平臺的理解?“Java是解釋執行”,這句話正確嗎? 談談JVM的一些基礎概念和機制,比如Java的類加載機制;常用版本JDK(JDK8)內嵌的Class-Loader;類加載大致過程:加載、驗證、鏈接、初始化;自定義Cla