Julia's coding blog - Practice makes perfect: Algorithm: reading blog
Wednesday, February 3, 2016 Algorithm: reading blog February 2, 2016 Think about learning Python today, since Julia likes to read Python code and get some great ideas in the code. She starts to read the blogs from Leetcode question 331 to 1 in descending order. As a programmer, she spent over 6 months to learn Javascript in 2014, and then she loves to read Javascript code now. So, spend 10 - 20 minutes a day to learn Python, one day she will love to read Python code. Here is the blog she starts to read. Feb. 3, 2016 331. Verify Preorder serialization of a Binary Tree idea: Use stack 330. Patching Array 329. Longest Increasing Path in a matrix idea: go through each node in the matrix, BFS search, and get minimum one; 328. Odd Even Linked List (Easy) Julia's comment: think about O(N) space solution first (using array, and then, easy to go through), and then, work on O(1) space solution, the following blog helps: 327 Count of Range Sum Still confused about the question,Read full article from Julia's coding blog - Practice makes perfect: Algorithm: reading blog
No comments:
Post a Comment