Developer Intern Interview Questions

12,196 developer intern interview questions shared by candidates

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
avatar

Software Engineer Intern

Interviewed at NVIDIA

4.4
Dec 31, 2011

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

Given a library of numbers to corresponding letters (1 = a, 2 = b, 3 = c, etc.) and a string made up of digits, return how many different ways those digits can be translated to letters. ex: “1111”: “aaaa” “kaa” “aka” “aak” “kk” => 5 different ways
avatar

Software Engineer Intern

Interviewed at Meta

3.5
Feb 25, 2014

Given a library of numbers to corresponding letters (1 = a, 2 = b, 3 = c, etc.) and a string made up of digits, return how many different ways those digits can be translated to letters. ex: “1111”: “aaaa” “kaa” “aka” “aak” “kk” => 5 different ways

There are three lightbulbs in a room and three switches which each controls a lightbulb in another room. You can only go into the room with light bulbs once. How can you identify which light bulb is controlled by which switch?
avatar

Software Developer Intern

Interviewed at Lutron Electronics

3.8
Jan 3, 2013

There are three lightbulbs in a room and three switches which each controls a lightbulb in another room. You can only go into the room with light bulbs once. How can you identify which light bulb is controlled by which switch?

Viewing 221 - 230 interview questions

Glassdoor has 12,196 interview questions and reports from Developer intern interviews. Prepare for your interview. Get hired. Love your job.