I've been asked three questions. The only one I missed is quite a basic question:If you want to do something before Java GC recycle the object?
Software Developer Interview Questions
467,307 software developer interview questions shared by candidates
You have a given set of prices in an Array, find at which price you should buy and at which price you should sell so that you maximize the gain
how will you find a digit in a specific decimal place of a very large power of 2
Given a dollar value, write a function that calculates the number of possible coin combinations that make up that value.
- Languages: Different between Java and C++, garbage collector in java (how it work), static vs dynamic memory allocation - Data structures: Linked lists, queues, stacks, heap, trees - OOP: polymorphism, design patterns that I used before - Algorithms: Sorting algorithms I know and there complexity, how to search for a number in an array (sorted and not sorted cases) - Coding question: reverse a single linked list
Given a array of a series of characters (char array from string) reduce multiple spaces to a single space, while preserving the other characters. The swapping needs to take place within the initial array.
Write a function to convert First Name, Last Name to Last Name, First Name.
giving numbers 2,3,5,7,11 , 1.multiply each number by 2, 2.if the result is bigger than 25 , then go to next step, otherwise repeat the 1st step. 3. multipy the result by 3. 4. add XX 5. divide with XX. question: which number will produce maximun output
give you 3L bottle and 5L bottle, to get 4L water.
Given a vector of integer elements. Remove the duplicates. Do not change the order of elements.
Viewing 1891 - 1900 interview questions