您的位置:首页 > 其它

揭秘 | 电脑为何从C盘开始,A盘和B盘去哪了?

2016-01-15 13:58 267 查看
题目1:
http://www.careercup.com/question?id=2777, aligned malloc详细解析,或者简单使用memalign
 
题目2:
http://www.careercup.com/question?id=294741,解释malloc和free
 
题目3:
http://www.careercup.com/question?id=295723
解释手机里面的字典,用suffix tree
一个很好的链接,http://www.allisons.org/ll/AlgDS/Tree/Suffix/
 
题目4:
http://www.careercup.com/question?id=278717
不太明白
 
题目5:
http://www.careercup.com/question?id=279673
 
可能会有溢出的状况,overflow,127+1 = -128,因为只有8位
 
题目6:
 
http://www.careercup.com/question?id=278715
呵呵,据说这个问题有病
 
题目7:
http://www.careercup.com/question?id=279672
 
我比较喜欢这个答案
clear the bit 1 to 8 and then shift the result to the left of 8 bits. The result is the solution...
inline unsigned int mod256(unsigned int _i)
{
_i &= (~255);
_i >>= 8;
return _i;
}
 
 
题目8:
 
http://www.careercup.com/question?id=249693
 
这个涉及到操作系统,里面的device都是用function来实现的
 
题目9:
http://www.careercup.com/question?id=250669
 
老婆,你还记得~这个是什么意思吗,我忘了
 
题目10:
 
http://www.careercup.com/question?id=249692
 
不太明白
 
题目11:
 
http://www.careercup.com/question?id=239672
 
不太明白
 
题目12:
 
http://www.careercup.com/question?id=236846
 
it accepts only integer and char
 
no floating, no strings
 
题目13:
 
http://www.careercup.com/question?id=236845
 
似乎有点明白了,就是排序,但是不能用多余的memory
 
题目14:
 
http://www.careercup.com/question?id=237788
 
page table
 
题目15:
 
http://www.careercup.com/question?id=236718
 
我觉得你应该不需要知道这个
 
题目16:
 
http://www.careercup.com/question?id=230797
 
这个应该需要知道一下
 
题目17:
 
http://www.careercup.com/question?id=230796
 
操作系统的,答案似乎是什么都不做
 
 
题目18:
 
http://www.careercup.com/question?id=230751
 
看看就好了
 
题目19:
 
http://www.careercup.com/question?id=231680
 
看解释就好
 
题目20:
 
http://www.careercup.com/question?id=220768
 
八个比特(Bit)称为一个字节(Byte),两个字节称为一个字(Word),两个字称为一个双字(Dword),两个双字称为一个四字(Qword)。
 
题目21:
http://www.careercup.com/question?id=184861
 
其实就是讲精度问题,两个floating相等只是在一定精度下,你应该明白这个的,呵呵
刚开始用string比较的方法,后来的讨论指出这种方法不完全对
 
题目22:
 
http://www.careercup.com/question?id=184860
 
经典方法是这个,http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
 
题目23:
 
http://www.careercup.com/question?id=184859
 
恩,基本就是先变成hex数,然后对每个digit进行打印,小于10就直接打印,大于10打印55+value
 
题目24:
http://www.careercup.com/question?id=175750
 
这个题目应该不难
 
题目25:
 
http://www.careercup.com/question?id=176761
 
操作系统的
 
题目26:
 
http://www.careercup.com/question?id=175749
 
操作系统的
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: