Sdet Interview Questions

4,387 sdet interview questions shared by candidates

int Solve(string str); Given the signature above, implement the simplest method that returns the results of the following arguments: 1. “3+5” (8) 2. “10+2-8” (4) 3. “5+10*3” (35) 4. “3+5--6" (14)
Dec 2, 2011

int Solve(string str); Given the signature above, implement the simplest method that returns the results of the following arguments: 1. “3+5” (8) 2. “10+2-8” (4) 3. “5+10*3” (35) 4. “3+5--6" (14)

Given an array of a 999,999 numbers, from 1 to a 1,000,000, there's one number missing. The array is not sorted, and you can only access the array using a function getNumber(), which pops one number from the array. Each number in the array can only be accessed once. There's one number missing, from 1 to 1 million. which number is this?
Feb 8, 2013

Given an array of a 999,999 numbers, from 1 to a 1,000,000, there's one number missing. The array is not sorted, and you can only access the array using a function getNumber(), which pops one number from the array. Each number in the array can only be accessed once. There's one number missing, from 1 to 1 million. which number is this?

1. Given a number N, find sum of all numbers from 1 to N-1 2. Your budget is X rupees, and there are N items available, each having its own cost (in an array). Find maximum items you can buy. 3. Given a string, find occurences of all substrings that are substring(0,x), where x=1,2,3...string.length
avatar

Sdet

Interviewed at Coupa Software Inc

3.5
Apr 20, 2021

1. Given a number N, find sum of all numbers from 1 to N-1 2. Your budget is X rupees, and there are N items available, each having its own cost (in an array). Find maximum items you can buy. 3. Given a string, find occurences of all substrings that are substring(0,x), where x=1,2,3...string.length

Viewing 111 - 120 interview questions

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