Google Interview Question
1,220 Interview Reviews |
Back to all Google Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Interview Question for Software Engineer Intern at Google:
Calculating the max execution time of a program that had to fit into a certain size of memory on an embedded device.
Helpful Question?
Yes |
No
Inappropriate?
Answers & Comments (2)
clock_t* start = clock();
program code{}
clock_t* end = clock();
clock_t ExecutionTime = end - start;
delete start;
delete end;
Helpful Answer?
Yes |
No
Inappropriate?
To comment on this
question,
Sign In with Facebook or
Sign Up
0 of 0 people found this helpful
by An idiot.: