Had an interview last week. Didn’t get the offer and I don’t even know the reason. Standard questions as mentioned earlier. Jut read this forum, they always ask the SAME questions. Don’t try to be too intelligent, they don’t know anything else but the answers they have memorised. If you give another answer, they will reject and debate.
Here are the questions posed to me:
Round 1 (2 nerds):
Q1. Tell datatypes and values of all the elements after the following program has been executed:
char *ptr = abc;
// 1. abc
// 2. ptr
// 3. &abc
// 4. abc + 4
// 5. *abc + 2
// 6. &ptr
// 7. *(abc + 4)
// 8. abc + 4
// 9. abc
time_t now = time(1);
date = get_date();
// What is the motive and output of the above program?
Q3. Make fibonacci series. What’s the difference in making it through recursion and loops.
I answered all this in first 15 min, so next 45 min were just passing time type questions:
Q4. What is the use of static in Java? (The morons didnt know about static blocks)
Q5. What is abstract class?
Q6. Puzzle: 3 containers with fruits in them. One has oranges, one has apples and the third has both, apples and oranges. Labels have fallen off, so we don’t know which container has what. In 1 go, i.e. by picking just 1 fruit correct the labels, as ALL 3 of them are incorrectly placed at the moment.
Q7. Do you any questions about us or bloomberg?
Round 2 (1 senior citizen):
Please note that he is old and has less memory so just remembers the solution he has learnt. He will not accept any other solution even if you give a better one.
Q1. We got 1 million integers and stored them in an array. How do we find the first unique integer. (Read integer as in English)
Q2. 4 containers with about 10 - 20,000 pills in them. 3 containers have same pills weighing 100mg, and 1 has pills of a different type, weighing 90mg. The labels have fallen off and we need to correct them. We have a weighing scale (it’s not a balance scale, but the one where you place something on it and you get the reading). Use that scale just once, and correct the labels.
I had answered both these questions in 10 mins, so I was shown the door. The key is to take your time and make them realise that they have made an effort in thinking all these questions.
Overall, the company is good, good pay of 36000 GBP per annum, good cafeteria. Go for the money and facilities, people are worthless.