Senior Software Development Engineer In Test (SDET) Interview Questions | Glassdoor

Senior Software Development Engineer In Test (SDET) Interview Questions

8

Senior software development engineer in test (sdet) interview questions shared by candidates

Top Interview Questions

Sort: Relevance Popular Date

finad all plaindromes ina string.

2 Answers

i couldn't really come up with decent code for this, and i think this was the turning point in the interview which otherwise was going alright.

vector findAllPalindrome ( string str) { vector stack; vector result; string buff = ""; int len = str.length(); if (len == 0) return result; stack.push_back(str[0]); for (int i = 1; i<len; ++i) { if (str[i] == stack.back()) { buff.insert(0,str[i]); buff.push_back(str[i]); result.push_back(buff); stack.pop_back(); } else { int buffLen = buff.length(); for (int j = 0; j< buffLen; ++j) { stack.push_back(buff[j]); } stack.push_back(str[i]); } } return result; }

What would be your ideal job?

1 Answer

Nothing really unexpected. I would say that reading the "Programming Interviews Exposed" book got me the job.

The answer given was a possible solution. The answer the interviewer wanted involved Reflection.

Implement a counting semaphore using only binary mutexes

1 Answer