摘要:
let say, we want to find the bottom left node in a tree.one way to do it is using global vars: to avoid using global vars, we can write it in this way 阅读全文
摘要:
Hexo is a good tool to build a personal blog.Here are some good reference:1: https://hexo.io/zh-cn/docs/index.html2: https://homulilly.com/post/hexo-l 阅读全文
摘要:
If you have a git repo and now you want to make it a plain filesystem tree .. (removing the git tracking system), you can do the following: 阅读全文
摘要:
For example, every ten seconds I got a server response time, I want to know the 90 percentile response time in real time (update dynamically). How can... 阅读全文
摘要:
Reference:http://stackoverflow.com/questions/3042412/with-n-no-of-nodes-how-many-different-binary-and-binary-search-trees-possibRecursion:t(0) = 1t(1)... 阅读全文
摘要:
Reference:https://webapp-improved.appspot.com/tutorials/quickstart.nogae.htmlStep 1: install pipStep 2:$ pip install WebOb$ pip install Paste$ pip ins... 阅读全文
摘要:
For example, if I want to check if I have turnin my proj1 of cs130a successfully, I just use this command:ls -l ~cs130a/TURNIN/proj1Then, just check i... 阅读全文
摘要:
It can be inserted anywhere. Note that if you insert it in the beginning the TC will be O(#s +c), but it is also O(#s+ n). Remember that the TC is an ... 阅读全文