Stuff like linked lists & basic recursion
Programmer Intern Interview Questions
716,506 programmer intern interview questions shared by candidates
Assuming you have a large cube shaped by small cubes together, their number is 1000 How many cubes will be visible?
public class WhichReturns{ public String whichReturns(){ try{ return "1"; }finally{ return "2"; } public static void main(String argv){ System.out.println("Return val: " + WhichReturns.whichReturns()); } }
Given 9 ball with only one differ in weight, how to find out by measuring them only twice?
1) How to reverse a string?
Find the second largest number in the array.
What will be the sizeof the following structure on a 32-bit machine: struct s { int i; char c; long d; void *p; int a[0]; };
How to find that a given number is even or odd without using (if, else, any loop, conditional operator ,switch). You can use only a "%" sign.
Given a stack containing values, implement min() operation to find minimum of all the values in O(1) time. Push() and Pop() should run in O(1) as well.
Convert : person_First_Name to personFirstName
Viewing 1341 - 1350 interview questions