Thursday, August 13, 2015

Leetcode: questions and favorite blogs

August 13, 2015, 

Go over the leetcode questions one by one, find one blog/ more to help me fully understand the problem. 改变学习方法, 广度优先, 多做题, 保持一定速度, 接触新的题目; 先看题解, 直接看代码; 一个小时学习二道题的速度. 

23 Merge k Sorted Lists hard  

22 Generate Parentheses  (fight for dream) http://blog.csdn.net/fightforyourdream/article/details/14159435
http://blog.csdn.net/linhuanmars/article/details/19873463   (more easy to understand) (one line error)

21 Merge two sorted lists 
http://www.cnblogs.com/springfor/p/3862040.html    (show how to optimize the code! Very good. )

22 valid parentheses   easy

19 remove Nth node from End of List

http://www.cnblogs.com/springfor/p/3862219.html (very clever tip for faster pointer)

Here are C# code folder:
https://github.com/jianminchen/Leetcode_C-





No comments:

Post a Comment