First practice on Leetcode 380:
http://juliachencoding.blogspot.ca/2016/08/leetcode-380-insert-delete-getrandom-o1.html
Add one more function - design API - Julia likes to design API, after she tried to memorize all APIs of JavaScript array.
Second practice - one function:
https://gist.github.com/jianminchen/84a0945eb49d3ae7af36b4ca5f0f0c41
Design API -
move an entry from the dictionary from one location
to another
location
assume that
dictionary contains the entry of from
assume that
to position is available in the dictionary
public bool move(Dictionary<Int32,
Int32> dict, int from, int to)
Blog:
1. CSS style -
http://codeguide.bootcss.com/
2. http://www.ruanyifeng.com/blog/2012/10/javascript_module.html
No comments:
Post a Comment