Given an array of positive and negative numbers, give an algorithm that would find the sequence of numbers that give the largest sum. The numbers have to be in sequential order.
Development Interview Questions
137,377 development interview questions shared by candidates
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.
Given a random array, how can you find the median without using any know sorting algorithm?
Propose an algorithm to remove duplicates in very large datset (which cannot be completely stored in memory for processing). Now, give scenarios in which your algorithm fails.
what was the one question you had expected ut were not asked?
I am given eight same size balls, one ball has less weight than others, how to find the ball in two step.
Being only the first interview, there were no hard questions, but they asked why I liked library A or library B and such questions.
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++)
Viewing 1761 - 1770 interview questions