Implement a stack that has a pop and push operations.
Software Engineer In Test Interview Questions
6,461 software engineer in test interview questions shared by candidates
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
How would you implement a shuffling algorithm
Given a string containing sets of curly braces (ex. "({LMN}h{RlO}}") print out the reverse of everything in curly braces. (Ex. "RIOhLMN" )
Finding if a stream of bits is divisible by 3
the most difficult question was when they asked me about the most difficult question
Give an example of a problem you encountered at * and how you were able to overcome it.
They asked me that " why you came so late ? " which was the last question. then firstly i thought where was i late i was reached here before the time. I was not expecting that they were asking me that where were you before today ? why not you came earlier to us ?
Viewing 6361 - 6370 interview questions