Intern Interview Questions

249,890 intern 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

Viewing 1441 - 1450 interview questions

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