Reverse all the characters in a string before you encounter an 'x'. abcdxdd - > dcbaxdd
Intern Software Interview Questions
20,198 intern software interview questions shared by candidates
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.
Given the sum, find all pairs of 2 numbers that have the sum.
Given an array of 99 unique numbers from 1-100, how do you determine the missing element?
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.
Design a class to implement a queue which supports pop from head, push from end and delete at any position of the queue.
Implement mergesort in language of choice (chose java)
Given a string that contains a sentence, reverse each individual word in the sentence. For example, "Hello to this world" becomes "olleH ot siht dlrow"
What is polymorphism?
Viewing 421 - 430 interview questions