Algorithm Interview Report
- 0of 0 votes
AnswersThere are infinite sets of strings given to you as follows:
- Anonymous May 21, 2010
a,b,c .. z,
aa,ab,ac ..az,
ba,bb,bc...bz,
ca,cb,cc ..cz,
....aaaa....bbbb........
Given a number return the String at that position. For example given 1 should return a, given 27 should return aa and so on.| Report Duplicate | Flag | PURGE
Algorithm - 0of 0 votes
AnswersThere are 2 Persons A and B. A is given sum of 2 numbers (X+Y), while B is given Product of the same 2 numbers (X*Y).
- Anonymous May 21, 2010
Our purpose if to identify the two numbers.
We asked A "Do you know the numbers?" A answered NO. Then we asked B "Do you know the numbers?" B answered No. After that again we asked A now can you tell me the numbers A says YES and then B also says I can identify the number. Can you tell me what are those numbers?| Report Duplicate | Flag | PURGE
Brain Teasers
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.