Find the smallest k element in an unsorted array Two Sum Best time to buy and sell stock
Intern Interview Questions
249,022 intern interview questions shared by candidates
clone graph conver bst to linked list
Why you want to work in the company?
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!
Viewing 1441 - 1450 interview questions