Tempter of the BoneProblem DescriptionThe doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze ...
分类:
其他好文 时间:
2015-07-22 22:20:06
阅读次数:
110
Simple add() method is used for adding an element at the end of the list however there is another variant of add method which is used for adding an el...
分类:
编程语言 时间:
2015-07-19 11:39:02
阅读次数:
128
I had a couple of interviews long ago which asked me to implemented a?least recently used (LRU)?cache. A cache itself can simply be implemented using a hash table, however adding a size limit giv...
分类:
编程语言 时间:
2015-07-16 07:23:26
阅读次数:
178
Little Tim is now a graduate,and is thinking about higher studies. However, he first needs to appear in anexam whose preparation alone includes memori...
分类:
其他好文 时间:
2015-07-15 20:57:08
阅读次数:
137
Today,trytorungcctoolchainunderUbuntu64bitfailswhenarm-linux-gccdoesexist.Finallyfindthetoolisa32-bitbinaryprogram.However,ia32-libsisnolongersupportedbyUbuntu15.Doesn‘tmatter.Wecanusepackagelib32z1andlib32ncurses5.Ibelieveyoumayfindthetipwhenrunthecommand:..
分类:
系统相关 时间:
2015-07-14 06:24:57
阅读次数:
262
Well, a follow-up for the problemLowest Common Ancestor of a Binary Search Tree. However, this time you cannot figure out which subtree the given node...
分类:
其他好文 时间:
2015-07-13 17:47:40
阅读次数:
87
I'm using Xcode on OSX to develop command line C applications. I would also like to use Instruments to profile and find memory leaks.However, I couldn...
分类:
移动开发 时间:
2015-07-12 14:15:24
阅读次数:
160
Well, the idea of this problem is actually very sample --- keep merging the unmerged lists in lists until there is exactly one list remained. However,...
分类:
其他好文 时间:
2015-07-06 01:27:53
阅读次数:
108
原文 If you park you car in the wrong place, a traffic policeman will soon find it. You will be very lucky if he lets you go without a ticket. However, this does no always happen. Traffic police ar...
分类:
其他好文 时间:
2015-07-04 15:40:12
阅读次数:
223
How to create .gitignore fileI need to add some rules to my.gitignorefile, however, I can't find it in my project folder. Isn't it created automatical...