Well, I try to use non-recursive method to generate the permutations of a given string, but I forget that I only have 10min to write the code.
Test Development Engineer Interview Questions
5,610 test development engineer interview questions shared by candidates
How would you find a book in a library given the author and title, but no catalog.
c) WAP to Print last n lines of a big log file.
2nd Interview round was very difficult. I was asked to code a question. I coded in recursively and then I was asked to do it in iterative way. The question was new and there was not even a bit of help from interviewer.
1. Give a number k, output how many prime numbers between 2 and k (inclusive) 2. Give two strings a and b, tell whether b is a sub sequence of a (not substring), using recursion first, then using loops, then tell which one is better. 3. If a database query manager buffer is filled without any more space, what kick-out mechanisms would you use? FIFO, Oldest, Least Recently Used etc. Why?
Actually, the questions are not hard. For example, binary search, validate parentheses, find the kth element, etc.
All problem had some tricks but be calm as they are looking for problem solving approach..
none
Write a method to reverse an arbitrary integer. Then find all the cases to test it.
Design a Battleship game.
Viewing 1991 - 2000 interview questions