I was asked about the egg dropping problem
Software Development Interview Questions
37,005 software development interview questions shared by candidates
I got a brain teaser question that how can I make the most number of triangles with 9 wooden stick.
There is a cuboid, with metal balls, now you are given X-RAy of two adjacent faces, so that you have black spots of there is ball in ( depth ) of that cell. Now u have to tell where all are there balls
Write a function to reverse a String. I asked if I could use Java which the interviewer said was fine. After writing half the code he indicated that I actually should have written the algorithm for a character array. Ughh, I really screwed this one up but I feel like the question should have been administered better.
I am given eight same size balls, one ball has less weight than others, how to find the ball in two step.
merge two sorted arrays in sorted order?
Which cycle performs quickier? for (int i=0; i<1000; i++) for (int j=0;j<100;j++) or for (int i=0; i<100; i++) for (int j=0;j<1000;j++)
One example that I thought was interesting: given a list of points, find the line that goes through the greatest number of them.
Array, Tree, Dynamic Programming questions
Given a tree of order n which is neither complete or a search tree, write a function to construct a new tree of order m in-place. Memory usage is bound to 2 times the size of the tree. The new tree must be complete, and a node A cannot be a child of another node B in the new tree if A was an ancestor of B in the old tree.
Viewing 1071 - 1080 interview questions