how many coins do i have in my pocket
Answers were Sorted based on User's Feedback
Answer / heyyrashmi
How can someone say, it will be estimation...
Is This Answer Correct ? | 0 Yes | 1 No |
Given a sequence of integers, there are a few sequences which result in balanced binary search trees i.e., AVL trees. Write a program that takes a sequence of integers as input and outputs the number of such sequences that result in the balanced binary search trees. Input Format: Single line contains sequence of integers terminated by -1. Output format: Print the number of AVL tree possible from that input sequence. Sample Input: 1 2 3 -1 Sample Output: 2
In a college, the science department has three disciplines. In total, 280 students study chemistry, 254 students study physics and 280 students study biology. 97 students study both chemistry and physics, 138 students study both physics and biology, 152 students study both chemistry and biology. 73 students study all three disciplines. Can you determine how many students there are in the science department?
7 Answers Accenture, HSPA, Satyam,
An emergency vehicle travels 10 miles at a speed of 50 miles per hour. How fast must the vehicle travel on the return trip if the round-trip travel time is to be 20 minutes?
A drinks machine offers three selections - Tea, Coffee or Random (Either tea or Coffee) but the machine has been wired up wrongly so that each button does not give what it claims. If each drink costs 50p, how much minimum money do you have to put into the machine to work out which button gives which selection?
8. Given a collection of points P in the plane , a 1-set is a point in P that can be separated from the rest by a line, .i.e the point lies on one side of the line while the others lie on the other side. The number of 1-sets of P is denoted by n1(P). The minimum value of n1(P) over all configurations P of 5 points in the plane in general position (.i.e no three points in P lie on a line) is a) 3 b) 5 c) 2
You have only one container full of water. You didnt have any marker or measurement device. Find the half of the container.
The secret agent X emailed a code word to his head office. They are "AIM DUE OAT TIE MOD". But four of these five words are fake and only one contains the information. The agent X also mailed a sentence as a clue - if I tell you any one character of the code word, you would be able to tell the number of vowels in the code word. Can you tell which is the code word?
There is a safe with a 5 digit number as the key. The 4th digit is 4 greater than the second digit, while the 3rd digit is 3 less than the 2nd digit. The 1st digit is thrice the last digit. There are 3 pairs whose sum is 11. Find the number.
Outside a room there are three light switches. Each switch is connected to a different light bulb inside the room. Each of the three switches can be either 'ON' or 'OFF'. You are allowed to set each switch the way you want it, once, and then enter the room. Your task is to then determine which switch controls which bulb. How can you do it?
Three friends divided some bullets equally. After all of them shot 4 bullets the total number of bullets remaining is equal to the bullets each had after division. Find the original number divided.
16 Answers Directi, Infosys, L&T, Shreyas, TCS, Turing Software,
Annie, Bunnie, Candy and Dina visited Edy on 14th February. 1. The time of each visit was as follows: - Annie at 8:00 - Bunnie at 9:00 - Candy at 10:00 - Dina at 11:00 Each time mentioned above may be either AM or PM. 2. Candy did not visit Edy between Bunnie and Dina. 3. At least one female visited Edy between Annie and Bunnie. 4. Annie did not visit Edy before both Candy and Dina. Can you tell at what time did they individually visit Edy?
what job position/s are you currently holding with your current employer?