TCS Company Programming Technical

The element being searched for is not found in an array of 100 elements. What is the average number of comparisons needed in a sequential search to determine that the element is not there, if the elements are completely unordered?

Read Solution (Total 4)

TCS Other Question

Anand packs 304 marbles into packets of 9 or 11 so that no marble is left. Anand wants to maximize the number of bags with 9 marbles. How many bags does he need if there should be atleast one bag with 11 marbles
a. 33
b. 32
c. 31
d. 30
How many Palindrone number are there between 5000 To 67000 .
Palindrone no 5335 is palindone no because if u read from first and last the value remains same