NVIDIA Interview Question
204 Interview Reviews |
Back to all NVIDIA Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Interview Question for Software Engineer Intern at NVIDIA:
I was given a short function in C (dictated because we were hanging on a phone): int foo(int a) { int result = 0; while (a >>= 1) result += 1 return result } And my task was to say what's wrong with this function, what's its purpose and what would I write my colleague who submitted it for a code review
Helpful Question?
Yes |
No
Inappropriate?



1 of 1 people found this helpful
by Interview Candidate: