Google Interview Report
- 0of 0 votes
AnswersHow to serialize/de-serialize a binary tree?
- henry May 19, 2011| Report Duplicate | Flag | PURGE
Google Software Engineer / Developer Data Structures - 0of 0 votes
Answerswrite you own strncpy function:
- henry May 19, 2011
char * strncopy(char * dest, const char * src, int n);
Need to consider several boundary cases, like if n > strlen(src) or n > strlen(dest), what if src is NULL)| Report Duplicate | Flag | PURGE
Google Software Engineer / Developer C++
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.