摘要:
(转自) http://moodycamel.com/blog/2013/a-fast-lock-free-queue-for-c++ Sharing data between threads in annoying. Really annoying. If you do it wrong, the 阅读全文
摘要:
Hangman is a paper and pencil guessing game for two or more players. One player thinks of a word, phrase or sentence and the other tries to guess it b 阅读全文
摘要:
https://www.interviewcake.com/question/java/url-shortener You know, like bit.ly. Let's call it ca.ke! Step 1 is to scope the project. System design qu 阅读全文
摘要:
What is the difference between ostream and ostringstream? Put succinctly: ostringstream provides a streambuf, ostream requires the user to provide one 阅读全文
摘要:
Two basic methods; separate chaining and open address. Separate Chain Hangs an additional data structure off of the buckets. For example the bucket ar 阅读全文
摘要:
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 阅读全文