OUT OF 111 MARBLES ONE IS NOT OF SAME WEIGHT. HOW TO FIND
AND GIVE THE MIN. NO OF STEPS
Answer Posted / rajinikanth budigelli
stp1:- 111 devide into 3 groups.Grp A-55, Grp B-55.Grp
C-1(hold C in hand)
Case1:if weight[A]=weight[B] then ans is C.
IF NOT
Case2:then c*55= weight[A(55)] or weight[B(55)].
step2:take the group which is not equal to c*55.
Step3:repeat step1 and 2.like
Grp D[1],Grp E[27] Grp F[27].
step4:compare E[27] ,F[27].
CASE1:if E[27]=F]27] THEN ANS IS D[1].
IF NOT
CASE2:VERIFY D[1]*27 E[27] & F[27].AND PICKUP THE
GROUP WHICH IS NOT EQUAL.
STEP 5: DEVIDE THE GROUP IN TO 3 GROUPS.
G[1],H[13],I[13]RESPECTIVELY.
STEP6:REPEAT STEP(4).COMPARE H[13],I[13].
CASE1:IF H[13]=I[13].THEN ANSWER IS G[1].
ELSE
CASE2: VERIFY G[1]*13=H[13] OR G[1]*13=I[13].
PICKUP THE GROUP WHICH IS NOT EQUAL TO G[1]*13.
STEP7.AGAIN DEVIDE IT INTO 3GROUPS. J[1],K[6]L[6].
COMPARE K[6]&L[6].
CASE 1:IF K[6]=L[6] THEN ANS IS J[1].
ELSE
CASE2:PICK UP THE GROUP WHICH IS NOT EQUAL TO J[1]*6.
STEP8:HERE WE HAVE 6 MARBLES IN THE GROUP. THEN DEVIDE AGAIN
IN TO 3 GROUPS.M[2],N[2]0[2]. THEN COMPARE M,N,O.
STEP 9:HERE WE GET ONLY TWO GROPS WITH SAME WEIGHT.EXP.IF
M[2]=N[2]THEN THEY R NOT EQUAL TO O[2].
STEP 10: HERE WE GET A GROUP WITH 2 MARBLES.COMPARE O1,O2
WITH ANY OTHER REFERENCE MARBLE.HERE WE KNOW THAT O1 IS NOT
EQUAL TO O2. IF O1=REF MARBLE THEN ANS IS O2.OR IF O2=REF
MARBLE THEN ANS IS O1 MARBLE.
then hold 1 marble D[1] make 2-groups E[27],F[27] repeat
step 1,2 and 3.
step5:if E=F then ans is D. if E[27] not equal to E[27]
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
I HAVE APPEARED FOR ALLAHABAD BANK ON 21-02-10, I WANT TO KNOW THE SECTIONAL CUT OFF'S FOR CATEGORY.
Find the next series number 0, 6, 24, 120, 210, ---, ----
Two sentences are given and we were required to print the common word in the two sentences. Words were delimited by space, full stop, ? , ! and , . The trick in the question was that common word should be printed only once so if ur first sentence contains two word "how" and second contains "how" then in output how should be printed only once for this u can replace each matched word in second sentence by spaces . i want a solution in C/C++ language
If m-4 is 7 more than n then m+9 is how much more than n+2
There are 6 people W,H,M,C,G,F who are murderer , victim , judge , police, witness, hangman. There was no eye witness only circumtancial witness. The murderer was sentenced to death. Read following statement and determine who is who.
Joe started from Bombay towards pune and her friend julie in opposite direction.they meet at a point .distance travelled by joe was 1.8 miles more than that of julie.after spending some both started there way.joe reaches in 2 hours while julie in 3.5 hours. Assuming both were travelling with constant speed.Wath is the distance between the two cities.
Two circles , one circle is inscribed and another circle is N outscribed over a square. What is the ratio of area of inner to outer circle.
Four friends are given named Akansha, Anuska, Anisha, ... , ... Each of them live in a separate home and sleep on one bed. Akansha and Anuska have two extra beds, two of the house have green lawns while the rest have narrow porchs, One of the house has Airconditioner while the rest have fans
Sum of slopes of 2 perpendicular st. lines is given. Find the pair of lines from the given set of options which satisfy the above condition?
A ridge formed over Pacific Ocean was because of the intersection of two volcanoes. But in history it was written that it was not due to those volcanoes. It proves a contradictory to form the view that history will be proved wrong in the future.Inference?
the word unimpressive was given.they asked us to do change 1st & 2nd,3rd & 4th,so on.then they asked what will be 10th letter from right?
A speaks truth 70% of the times, B speaks truth 80% of the times.What is the probability that both are contradicting each other is ?
If the product of three consecutive int is 210,then sum of the two smaller ints is:
All men of this party are republican . mohan is member of this party. mohan is republican is true or false or camn't say?
A Fraction has the denominator greater than its numerator by 4. But if you add 10 to the denominator, the value of the fraction would then become 1/8. What is the fraction. 1/5,3/7,1/3,2/6