The algorithum question
Sdet Interview Questions
4,403 sdet interview questions shared by candidates
Difference between calloc() and malloc() synopsys-rd-interview-questions 0 of 0 votes 13 Answers What are the differences between new (in C++) & malloc (in).
how many lines was your longest coding project and what did it do?
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.
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..
Viewing 1461 - 1470 interview questions