Racla's Blog

Go for it.


  • Home

  • About

  • Tags

  • Categories

  • Archives

147 Insertion Sort List

Posted on 2019-11-10 | In LeetCode
Intuition & AlgorithmThe diagram and illustration in the question have given us a clear description of insertion sort algorithm. Separate the lis ...
Read more »

121 Best Time to Buy and Sell Stock

Posted on 2019-11-09 | In LeetCode
IntuitionThe broute-force solution is listing all the possible combinations and finding the maximum one: max(a[j] - a[i]) \quad j>=iTime complexity f ...
Read more »

120 Triangle

Posted on 2019-11-08 | In LeetCode
IntuitionThe broute-force solution for this method is to list all the possible path, and then get the minimum.In the top layer of the triangle, we can ...
Read more »

143 Reorder List

Posted on 2019-11-08 | In LeetCode
IntuitionFrom the description of this question, we need three steps to achieve the reorder operation for a singly linked list: seperate the list into ...
Read more »

87 Scramble String

Posted on 2019-11-06 | In LeetCode
IntuitionThis is a dynamic programming problem. Given two string S1(1,2,3,...,n) and S2(1,2,3,...,n), they are scramble if and only if: S1(1,2,3,..., ...
Read more »

55 Jump Game

Posted on 2019-11-05 | In LeetCode
Intuition & AlgorithmIt’s a typical dynamic programming problem, so we can find three kinds of solution. Recursion Memoization (Optimization of R ...
Read more »

100 Same Tree

Posted on 2019-11-05 | In LeetCode
Intuition & AlgorithmThe question asks whether the structure of the two binary trees and the values of the nodes are the same. This question has a ...
Read more »

99 Recover Binary Search Tree

Posted on 2019-11-05 | In LeetCode
Intuition & AlgorithmAccording to the location of the two nodes being exchanged, it can be divided into five cases, assuming that the original seq ...
Read more »

Java

Posted on 2019-09-28 | In 中文 , Java
Java基础编译和解释 (待补充) C/C++ 编译器将源代码最终编译为机器指令,因此如果要在不同机器上运行程序需要重新编译源码。Java使用另一种方式实现跨平台,即Java虚拟机(JVM)。首先Java编译器(javac, java compiler)将源代码编译为.class文件,当我们需要将程 ...
Read more »

MySQL ACID

Posted on 2019-09-25 | In 中文 , Database
MySQL ACID 本文所有内容仅仅是对MySQL官方文档稍作整理,增加一些作者自己的理解。 随着业务数据和任务需求的增长,可靠性成了MySQL数据库的重要诉求(Redis早期仅有单句的增删改查,事务是随着业务需求变得复杂才增加的)。ACID正是实现MySQL可靠性的设计原则。 下文以Inno ...
Read more »
1234
Wan

Wan

Professional Bathroom Singer

32 posts
7 categories
22 tags
GitHub E-Mail Linkedin
0%
© 2019 — 2020 Wan
PV: | Guests:
Powered by Hexo
|
Theme — NexT.Gemini v5.1.4