Interns Interview Questions

249,127 interns interview questions shared by candidates

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

Write a function that receives a regular expression (allowed chars = from 'a' to 'z', '*', '.') and a string containing lower case english alphabet characters and return true of false whether the string matches the regex. Do this recursively. Examples: 1) "ab*a", "abbbbba" -> true 2) "ab*b.", "aba" -> true 3) "abc*", "acccc" -> false
avatar

Intern

Interviewed at Meta

3.5
Sep 1, 2015

Write a function that receives a regular expression (allowed chars = from 'a' to 'z', '*', '.') and a string containing lower case english alphabet characters and return true of false whether the string matches the regex. Do this recursively. Examples: 1) "ab*a", "abbbbba" -> true 2) "ab*b.", "aba" -> true 3) "abc*", "acccc" -> false

A few years ago, Sprint decided that they will make phone calls from cellphone-cellphone free! There is a legend that a guy who was 20 years old by that time decided to call every single cellphone in the united states, and when he was 80 years old he finished doing all that calls. Is that possible? prove it!
avatar

Business Analytics Intern

Interviewed at Enova

3.7
Mar 22, 2012

A few years ago, Sprint decided that they will make phone calls from cellphone-cellphone free! There is a legend that a guy who was 20 years old by that time decided to call every single cellphone in the united states, and when he was 80 years old he finished doing all that calls. Is that possible? prove it!

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

Viewing 1441 - 1450 interview questions

Glassdoor has 249,127 interview questions and reports from Interns interviews. Prepare for your interview. Get hired. Love your job.