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?
Test Consultant Interview Questions
32,030 test consultant interview questions shared by candidates
How would you call fire brigade if your office catches fire? Consider you dont have internet, telephone, or any means of communication.
- Given an array of integers (of any value, from MIN_INT to MAX_INT), how would you find the consecutive integers with the largest sum, and return their sum?
Count no. of words in a string
Reverse the string
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)
Delete n-th element from linked list. Note, you don't have a pointer to the Head of the list.
Given the definition of a Fibonacci sequence, write a function to give the n-th term of the sequence.
finad all plaindromes ina string.
Questions were good, but very basic
Viewing 481 - 490 interview questions