Given the definition of a Fibonacci sequence, write a function to give the n-th term of the sequence.
Sdet Interview Questions
4,403 sdet interview questions shared by candidates
Count no. of words in a string
Reverse the string
searching for patterns in strings; how to destroy your functions with different testing cases;
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?
How would you call fire brigade if your office catches fire? Consider you dont have internet, telephone, or any means of communication.
Q: Most challenging part of coding you have
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
Scripting questions in Python like, parse a csv file and extract the name, phone numebers, emails into a dict.
How do you know if three points make a triangle?
Viewing 111 - 120 interview questions