Pascal's Triangle - print a row
Intern Software Interview Questions
17,713 intern software interview questions shared by candidates
Write a function that prints a binary tree level-by-level.
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
What are the major principles of the object oriented programming?
Given an array of 99 unique numbers from 1-100, how do you determine the missing element?
Given the sum, find all pairs of 2 numbers that have the sum.
Reverse all the characters in a string before you encounter an 'x'. abcdxdd - > dcbaxdd
2 robots land on a planet that only has x coordinate (a line). The robots can only go either left or right. The planet has nothing on it except the parachute that each robot has used. You're asked to program the robot to meet each other in the shortest amount of time. You're only allowed to use if statement and "Go left" and "Go right". The if statement can only contain: if the robot meet each other, or if the robot see its own parachute.
probability question: two dice, the probability to get more than two 4's
Given a word (does not have to be an actual word, just a string of capital letters), return the alphabetical rank of that word out of all possible combinations of the given set of letters.
Viewing 411 - 420 interview questions