对照CtCI官网的对照表和CtCI第四版的PDF版,我整理了一下在第四版中出现但是在第五版中被删去的题目。如果其他题目刷的差不多了,可以看看这一部分题目,比较少见,但是也 ...
非CS的,想转当码农,但是基础很差,就上个学期学了一门data structure,因为是用c++教的,所以只会c++。但是我看careercup好像用的是JAVA写的,那我是应该自学JAVA呢还 ...
bit vector 会比boolean array 节约很多内存么?我在看cracking the coding interview 第一题时想到的问题。题目时这样的:Implement an algorithm to determine if a st ...
Write a function called my2DAlloc which allocates a two dimensional array. Minimize the number of calls to malloc and make sure that the memory is accessible by ...
Write an aligned malloc & free function that takes number of bytes and aligned byte (which is always power of 2)EXAMPLEalign_malloc (1000,128) will return a ...
关于第五版15.1,答案用了subquery, 如果要求只用single query,这道题可以做吗?这样写对吗? 请各位高人指点。SELECT t.TenantName, t.TenantIDFROM Tenant t IN ...
What are the best practices to prevent reverse engineering of DLLs?
Discuss how would you make sure that a process doesn’t access an unauthorized part of the stack.
Write a program to find whether a machine is big endian or little endian.
Write a step by step execution of things that happen after a user presses a key on the keyboard. Use as much detail as possible.follow up, what happen if us ...
Explain the following terms: virtual memory, page fault, thrashing.
Describe direct memory access (DMA). Can a user level buffer / pointer be used by kernel or drivers?
What is a Branch Target buffer? Explain how it can be used in reducing bubble cycles in cases of branch misprediction.
Imagine a simple database storing information for students’ grades. Design what this database might look like, and provide a SQL query to return a list of the ...
What are the different types of joins? Please explain how they differ and why certain types are better in certain situations.
what 's denormalization? explain the pros and cons
Draw an entity-relationship diagram for a database with companies, people, and professionals (people who work for companies).
Write a method to find the number of employees in each department.
Suppose you are using a map in your program, how would you count the number of times the program calls the put() and get() functions?--好几天没发 耽误讨论 ...
Explain what object reflection is in Java and why it is useful.