07 2017 档案

摘要:What is the difference between ostream and ostringstream? Put succinctly: ostringstream provides a streambuf, ostream requires the user to provide one 阅读全文
posted @ 2017-07-28 05:43 grainy 阅读(2779) 评论(0) 推荐(0)
摘要:Two basic methods; separate chaining and open address. Separate Chain Hangs an additional data structure off of the buckets. For example the bucket ar 阅读全文
posted @ 2017-07-27 12:12 grainy 阅读(166) 评论(0) 推荐(0)
摘要:priority_queue<Point, vector<Point>, pqCmp> struct pqCmp { bool operator() (const Point& a, const Point& b) const { return distance(a,center) < distan 阅读全文
posted @ 2017-07-27 04:04 grainy 阅读(128) 评论(0) 推荐(0)
摘要:To solve the "Find K nearest Points" problem. O(n) time complexity 阅读全文
posted @ 2017-07-27 04:00 grainy 阅读(121) 评论(0) 推荐(0)
摘要:http://www.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15251-f07/Site/Materials/Lectures/Lecture02/lecture02.pdf 阅读全文
posted @ 2017-07-26 14:55 grainy 阅读(201) 评论(0) 推荐(0)
摘要:AS A BEGINNER, WHICH SHOULD I LEARN? Python2 is the winner...for now. “Python 3 is a nicer and more consistent language, BUT, there is very limited th 阅读全文
posted @ 2017-07-26 10:51 grainy 阅读(139) 评论(0) 推荐(0)
摘要:Python开发人员有大量的框架可供选择来用于他们的Web项目。不过,现在Django毫无疑问已成为世界上Python开发人员中最流行的Web框架。本w将来谈谈Python开发人员为什么喜欢Django而不是其他流行的Python Web框架,如Flask,Pyramid,Tornado,Bottl 阅读全文
posted @ 2017-07-26 08:34 grainy 阅读(820) 评论(0) 推荐(0)
摘要:The difference here is that will place "Hello world" in the read-only parts of the memory, and making s a pointer to that makes any writing operation 阅读全文
posted @ 2017-07-26 03:58 grainy 阅读(129) 评论(0) 推荐(0)
摘要:1. who : The ‘$ who’ command displays all the users who have logged into the system currently. 2. pwd : The ‘$pwd’ command stands for ‘present working 阅读全文
posted @ 2017-07-21 06:06 grainy 阅读(220) 评论(0) 推荐(0)
摘要:Today is my first phone interview since I start to look for jobs. I feel so nerves before the clock run to 10:00 am. Actually, zzz and I go through th 阅读全文
posted @ 2017-07-21 03:19 grainy 阅读(259) 评论(0) 推荐(0)
摘要:1.初心,可以是想要比他人更强的好胜心。“我每次到了一个新的环境,我都会有一个欲望,就是我要做到比别人强,所以可能这个是驱使我一直去成长的一个源动力。”2.初心,可以是对成长的渴求。我一直在迫使自己去一个不舒适区。比方说我要舒适,我这个东西不会做,我就不做了;那我一直做那种我不懂的,一直逼迫着自己去 阅读全文
posted @ 2017-07-19 08:59 grainy 阅读(155) 评论(0) 推荐(0)