摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
Make your first OS. (MikeOS).check out here 阅读全文
摘要:
callback is nothing but passing the function pointer to the code from where you want your handler/ callback to be invoked.check here 阅读全文
摘要:
FUSE is particularly useful for writing [ vritual ] file system. Unlike traditional filesystem that essentially save data to and retrive data from dis... 阅读全文
摘要:
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,... 阅读全文
摘要:
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... 阅读全文
摘要:
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 ... 阅读全文
摘要:
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 ... 阅读全文
摘要:
check here.Basically the compiler will insert unused memory into a structure so that data members are optimally aligned for better performance. 阅读全文