what is the best way to sort millions of records
Senior Software Interview Questions
75,595 senior software interview questions shared by candidates
Code a FizzBuzzRazz test. If it's divisible by 3 print "Fizz" if it's divisible by 5 print "Buzz" if it's divisible by 7 print "Razz" if it's divisible by 3 and 5 print "FizzBuzz" if it's divisible by 3 and 7 print "FizzRazz" if it's divisible by 5 and 7 print "BuzzRazz"
Given a chessboard determine if a given black or white piece in a cell is alive / dead. An item is defined alive if it has at least one non-opposite colored or blank neighbor. That was the original question. This is how it morphed over the interview: * The diagonal neighbors don't matter to determine if a piece is alive or dead. * There need not be just 16 pieces of black or white. There can be an arbitrary number of black or white pieces. * If a piece is surrounded by the opposite color in 3 sides, but the 4th side of the same color but is again surrounded by opposite color, then that's still considered dead. (why did you not say this to begin with?!) But it is alive if one of them is blank. * And while calculating the time complexity - she adds, the board can be filled with all black and say one white in the middle or vice versa. How is that a chessboard?! and why are you telling that at minute 45. If we had continued the interview wonder what other additional missing conditions about the problem she would have added that she forgot.
How would you count the 100 longest lines in a 100MB text file?
Given an array of integers, return one pair of integers that equal a particular given sum, from the array.
switch value of variables a and b, without using 3rd variable.
Given 2 jugs, one is 3 quarts and the other is 5 quarts. Find a way to end up with 4 quarts of water.
The Merit Trac test software is not at all ready for use. The questions are not displayed correctly and many questions were just without any answers. The question layout is messed up and code sniplet mentioned in single line, so its impossible to answer line which contains error.
- Background and experience suitable for the role - Open systems design question (information storage and retrieval) - Typical CS online coding exercise
Rearrange the elements of an array so that all zeroes are at the end of the array, while preserving the ordering of the nonzero elements.
Viewing 851 - 860 interview questions