You have a box of red balls, a box of blue balls, and a box of red and blue balls. What is the minimum number of boxes you can open and know what is the contents of each box?
Interns Interview Questions
248,183 interns interview questions shared by candidates
Print a binary tree level by level in zigzag order
Please write code to compute x^x without using multiple
Give me 5 different ways of finding the median (middle element) of a linked list. For the sake of simplicity, assume the list has odd number of ints. Also mention the runtime for each. Follow up: What's the fastest way you could find the median? What is the runtime? Oh.. and yes, code your answer(s) in any language of your preference.
How would you store and search 1 million names?
Can you tell me about yourself?
During the last stage of the interview, the department head was asking various questions relevant to the position. However, one of the last question was a bit strange to say the least that left me confused and curious whether I would be willing to work for a person that assigns tasks or provide feedback using random allegories: "A woman came to the market to sell eggs. The first customer bought half of her eggs and a half of an egg. The second customer bought half of the remaining eggs and a half of an egg. The third customer only bought one egg. After that, the woman had no eggs in stock. How many eggs did she bring with her to the market?"
1. You have 3 black and 2 red balls. What is the probability that you can arrange them such that no black balls are placed consequently. 2. What is the least multiple of 15 whose digits consist only of 1's and 0's?
Are you capable and willing to move to Switzerland
Why are you interested to work in our company?
Viewing 231 - 240 interview questions