C++ implementation:
https://github.com/derekhh/LeetCode/blob/master/61_v1.cpp
Start a drill to memorize the implementation:
1. How many variables are used in optimal solution?
2. How many lines of code?
Leetcode solution blog:
http://juliachencoding.blogspot.ca/2016/09/a-drill-c-learning.html
Reading blogs:
3. Fernando Pereira - Distinguished researcher in Google
I like to state it as "the language of successful communication within Google is good code, not slides, proofs, or research
prototypes".
https://plus.google.com/+FernandoPereira
No comments:
Post a Comment