If you have 9 pool balls and a scale, and one of the balls is heavier than the rest, how do you find the heaviest in the most efficient way possible?
Intern Software Engineer Interview Questions
12,222 intern software engineer interview questions shared by candidates
Print out the numbers from 0 to 999. If a number is divisible by 3, print a "!" after it. If a number is divisible by 11, print a "?" after it. Each number should be printed only once, and should be on a new line.
Write a method to return all permutations of a string.
Find the rectangle of maximal area under a histogram
Calculating the max execution time of a program that had to fit into a certain size of memory on an embedded device.
How to delete the file "-f" with rm.
Given an array of integers, provide an efficient way of finding an integer that appears only once in this array.
Find the largest continuous sum given an array of integers. Given an array of characters and a dictionary sorted in alphabetical order, find the ten longest words in the given dictionary that could be formed using the characters in the array.
Reverse a string.
Would Java Bytecode generated by Java 7 work on a JVM made to function on Java 1.0?
Viewing 151 - 160 interview questions