Why you want to work in the company?
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
Write a program that takes an input an array of positive numbers and shifts all the zeros (0s) to the right.
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
Given an array of ints, find the max and return the index of the maximum. If there are multiple occurrences of the maximum, return an index of one of these occurrences randomly.
Pascal's Triangle - print a row
Write a function that prints a binary tree level-by-level.
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!
What is dense wavelength division multiplexing (DWDM)?
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