Data Structure and Algorithms | 2020-04-21 Leetcode 131. Palindrome Partitioning Question Give a string, and then cut several times at arbitrary positions to ...
Data Structure and Algorithms | 2020-04-19 Leetcode 130. Surrounded Regions Question It’s a little bit like Go, turning the O enclosed by X into X, and the O at the boundary ...
Java | 2020-04-17 Compare HashSet and TreeSet Last time we talked about TreeSet in Java: Java TreeSet. This blog is just to provide a quick summar ...
Data Structure and Algorithms | 2020-04-16 Leetcode 129. Sum Root to Leaf Numbers Question Given a binary tree, the path from the root node to the leaf node forms a number. Calcula ...
Java | 2020-04-15 Java TreeSet The TreeSet in Java is a subclass of Set. The TreeSet collection is used to sort the object elements ...
Data Structure and Algorithms | 2020-04-13 Leetcode 120. Triangle Question From current layer can only choose two adjacent elements to walk down. For example, the ...
Java | 2020-04-09 Java CompletableFuture In modern software development, system functions are becoming more and more complex, and the method ...
Data Structure and Algorithms | 2020-04-07 Leetcode 114. Flatten Binary Tree to Linked List Question Expand a binary tree into a linked list. Similar Question Medium - 430. Flatten a Multil ...
Java | 2020-04-05 Java final and static keyword Final keywordAccording to the context of the program, the Java keyword final has the meaning of “thi ...
Data Structure and Algorithms | 2020-04-02 Leetcode 113. Path Sum II Question Given a sum, output tha paths which starts from the root node to the leaf nodes, and add ...