Find the maximum length of consecutive ones in a nxm matrix which has only 0's and 1's.
Software Engineers Interview Questions
420,352 software engineers interview questions shared by candidates
1 1 2 1 1 3 3 1
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
- 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.
puzzle: there are 2 cans of size 4 liter and 7 liter. how can you get 2 litters of milk from it.
In Java, how do you convert string "123" to a number. I knew this, but was drawing a blank during the interview.
how do you find 3 number total 0?
count the number of letter combination in a short message.
given an array of words find what is and how long is the length of the longest common substring between two words in the array
Viewing 1891 - 1900 interview questions