Sdet Interview Questions

4,397 sdet interview questions shared by candidates

Problem solving question: You have a list of numbers from 1 to 1000000 and one number is missing, but you don't know what it is. If you can only go through the numbers once, how do you find the missing number.
Jan 14, 2013

Problem solving question: You have a list of numbers from 1 to 1000000 and one number is missing, but you don't know what it is. If you can only go through the numbers once, how do you find the missing number.

Write a program that takes in a string and removes any duplicate spaces (including leading and trailing spaces – there should be none when finished). This program should not have any embedded loops, and you can only traverse the string ONCE. Should definitely be faster than O(n^2).
Feb 28, 2013

Write a program that takes in a string and removes any duplicate spaces (including leading and trailing spaces – there should be none when finished). This program should not have any embedded loops, and you can only traverse the string ONCE. Should definitely be faster than O(n^2).

Viewing 371 - 380 interview questions

Glassdoor has 4,397 interview questions and reports from Sdet interviews. Prepare for your interview. Get hired. Love your job.