In place, move the duplicates in an array to the end. [Hint: first define duplicate. Ex. 02155530. Move 55 to end, OR 55 and 55, resulting in moving 555 to end.]
Sdet Interview Questions
4,387 sdet interview questions shared by candidates
Stack to queue
a huge matrix with 1 and 0, block the block of 1. elements could be "connected" by left, right, up or down side; but no diagonal. my answer, scan one by one, after getting the first 1, use stack walking to all neighour 1 and change them into 0, count++ then the interview asked how to make it parallel, ...
He asked me how to reverse a string in C. I was a bit rusty, and the answer he was looking for was to iterate over the length of the string store one character in a temporary character, then store the end of the array in the new location. char<-str[i] str[i++]<-str[end] str[end--]<-char Something like that in pseudocode.
all was easy
Finding if a stream of bits is divisible by 3
Motivation and some technical question to resolve real problem
There were lot of technical and behavioral questions. Take home test contains real world problems such as debugging an issue in real world scenarios. Teams video calls were really long and each call lasted for 1 hour with many core questions
Logical scenarios pseudo code related to String, pseudo code writing for end to end scenario in makemytrip website using selenium concepts. Selenium concepts, exceptions etc.
Questions on Java 8 Features, Lambda Expression, Design Principles etc
Viewing 4311 - 4320 interview questions