Siqi Liu
Siqi Liu
Avatar
😀
ai blockchain database design patterns digitaltwin frontend frontend hook investment javascript javascript leetcode life node.js oop optimization react review project technology vue web
  • As you can see from the previous questions, the recursive methods for front-, middle-, and post-order traversal of a binary tree are similar, but the iterative implementation is completely different. …
    leetcode Created Sat, 27 Feb 2021 00:00:00 +0000
  • 1h The order of in-order traversal is left - right - center recursion It’s very easy with recursion var postorderTraversal = function(root) { var res = [] if (!root) return res var travel = function …
    leetcode Created Fri, 26 Feb 2021 00:00:00 +0000
  • 10min The order of pre-order traversal of a binary tree is center-left-right First traverse all root nodes and left nodes, then process the right node It can be seen that this is a recursive behavior. …
    leetcode Created Thu, 25 Feb 2021 00:00:00 +0000
  • 30min The first thing that comes to mind when I get the question is to sort it directly… But we can optimize the quick sort to get the result Solution 1. Quick sort The idea of quick sort is to find a …
    leetcode Created Thu, 25 Feb 2021 00:00:00 +0000
  • 30min The order of in-order traversal is left - middle - right recursion It’s very easy with recursion var inorderTraversal = function(root) { var res = [] if (!root) { return res } var travel = …
    leetcode Created Thu, 25 Feb 2021 00:00:00 +0000
  • Release Date: February 25, 2021 Understanding React Hooks Those who have used the old version of react should know that react’s class component has state to manage the internal state, as shown in the …
    frontend Created Thu, 25 Feb 2021 00:00:00 +0000
  • A few years ago, the company needed to log in and register, and the estimated construction period was one month. As a result, the project became uncontrollable during the process, and it took almost …
    Review Project Created Sun, 21 Feb 2021 00:00:00 +0000
  • Time: 40 minutes ####105. Construct a binary tree from pre-order and in-order traversal sequences recursion Pre-order traversal: center-left-right In-order traversal: left-middle-right Therefore, we …
    leetcode Created Wed, 27 Jan 2021 00:00:00 +0000
  • Filling Diary
    Life Created Fri, 11 Dec 2020 12:37:55 +0000
  • One month after leaving Dahua
    Life Created Fri, 11 Dec 2020 00:17:30 +0000