爱我十年的人结婚了# Love - 情爱幽幽
y*o
1 楼
电面,lots of pardons due to not understand india english.
1. what is memory leak, what is memory dangling
2. how to test memory leak
3. how to test system crash on programming load (initialization of global
variable? not idea)
4. how to avoid memory leak, what is smart ptr, what happens when you copy
the auto ptr in std
5. find the duplicate of two str, what if no extra space?
6. realize string to int
7. what is string to int have some not int value like "1s2" to 12
8. design: in an hour, process 12000 request, each request take 15 seconds,
high cpu intensive. (do not know how to solve, just say, clustering and
multithread, use a server to balance load, put all incoming request into
message queue, and a processing request count for each machine)
lots of sorry and pardons and also talked with my boss for several seconds (
my boss go to lunch and see me at garage, shy).
1. what is memory leak, what is memory dangling
2. how to test memory leak
3. how to test system crash on programming load (initialization of global
variable? not idea)
4. how to avoid memory leak, what is smart ptr, what happens when you copy
the auto ptr in std
5. find the duplicate of two str, what if no extra space?
6. realize string to int
7. what is string to int have some not int value like "1s2" to 12
8. design: in an hour, process 12000 request, each request take 15 seconds,
high cpu intensive. (do not know how to solve, just say, clustering and
multithread, use a server to balance load, put all incoming request into
message queue, and a processing request count for each machine)
lots of sorry and pardons and also talked with my boss for several seconds (
my boss go to lunch and see me at garage, shy).