上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: problem is like this:Input is an int array: -> 10, 85, 96, 80, 93, 54, 3, 26, 4, 37Output is an integer, in this example, you should return 3 (because... 阅读全文
posted @ 2014-09-26 13:59 zmiao 阅读(133) 评论(0) 推荐(0) 编辑
摘要: When a file name is deleted from the directory tree, the file name's connection to the inode number is severed. If the file name is the last "link" to... 阅读全文
posted @ 2014-09-25 13:53 zmiao 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Make your first OS. (MikeOS).check out here 阅读全文
posted @ 2014-09-25 06:29 zmiao 阅读(90) 评论(0) 推荐(0) 编辑
摘要: callback is nothing but passing the function pointer to the code from where you want your handler/ callback to be invoked.check here 阅读全文
posted @ 2014-09-23 07:09 zmiao 阅读(118) 评论(0) 推荐(0) 编辑
摘要: FUSE is particularly useful for writing [ vritual ] file system. Unlike traditional filesystem that essentially save data to and retrive data from dis... 阅读全文
posted @ 2014-09-20 15:48 zmiao 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Java is strictly pass-by-value. which means, when you pass a variable to a method, the method will just make a copy of that varible and use that copy,... 阅读全文
posted @ 2014-09-20 08:58 zmiao 阅读(222) 评论(0) 推荐(0) 编辑
摘要: Is it possible to write a swap method in java? these two variables will be primitives.It's not possible, without any objects or arrays. (Java passes s... 阅读全文
posted @ 2014-09-20 08:48 zmiao 阅读(137) 评论(0) 推荐(0) 编辑
摘要: the /tmp folder of linux will be cleaned every time when you reboot.Well, actually, It doesn't "delete on reboot"; it only exists in RAM in the first ... 阅读全文
posted @ 2014-09-20 08:08 zmiao 阅读(152) 评论(0) 推荐(0) 编辑
摘要: BFS (Bridth First Search) can be implemented by a queue.Procedure is like this: (Q is Queue)1, Put 1 in Q : ->1 (front) 2, Read the front of Q (which ... 阅读全文
posted @ 2014-09-20 04:07 zmiao 阅读(162) 评论(0) 推荐(0) 编辑
摘要: check here.Basically the compiler will insert unused memory into a structure so that data members are optimally aligned for better performance. 阅读全文
posted @ 2014-09-19 04:28 zmiao 阅读(106) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页