Showing posts with label Leetcode 20: Valid parentheses. Show all posts
Showing posts with label Leetcode 20: Valid parentheses. Show all posts

Monday, December 18, 2017

Leetcode 20: Valid Parentheses (I)

Dec. 18, 2017

Plan to review the algorithm called Valid Parentheses. It is the easy level algorithm. 

Last practice in 2016 is here. Another version is here


Here are the blogs I chose to study in January 2016, documented in a blog here:







Actionable Item


One thing I like to do is to break the blog written in January 2016 into multiple blogs, I may study a lot of hours on those algorithms. It is better for one blog for each algorithm. And also one blog for each good idea for Leetcode 20. 

Make life easy, specially learning algorithm should be more organized. 


Wednesday, January 20, 2016

Leetcode questions 20: Valid Parentheses

January 20, 2016 

Leetcode 20: Valid parentheses


Julia’s C# code:

January 20, 2016

favorite blogs to read: January 20, 2016

Great time to go over different ideas to implement the algorithm, using Map in C++, Hashmap, and see so many talents through those code - 






http://www.jiuzhang.com/solutions/valid-parentheses/

So, ready to review more about parentheses:

Leetcode 32: longest valid parentheses -

Julia’s blog on this question:
Leetcode question 22: Generate Parentheses
https://github.com/jianminchen/Leetcode_C-/blob/master/GenerateParentheses_No22.cs