Re: Logic Quiz
CORRECT - Electra aap ka hoa
Re: Logic Quiz
CORRECT - Electra aap ka hoa
Re: Logic Quiz
^lol
Re: Logic Quiz
did you check my answer to your question ?
Re: Logic Quiz
If boxes are incorrectly labeled, then 100 gold coins should be in Chest C… :hehe:
Re: Logic Quiz
Bob or Andrew.. they either wearing red or blue…
Re: Logic Quiz
Not necessarily. 100 gold coins can either be in Chest B or Chest C. Please read the solution.
Yes I did, the logic is correct but it didn’t need that detailed explanation
Saying both lied would have been enough explanation.
Are you going to post the next quiz now?
Re: Logic Quiz
Nah I dont get it.. not at all.. and yes u can totally mark me as dumb :bummer:
Re: Logic Quiz
^ Ok.
Re: Logic Quiz
@mahool did that on my behalf i.e., marking you as a dumb person.
Okay so here is the explanation. First thing is that we need to figure out how to find that culprit. Given that we can use the scale only once and can take only one reading, we need to come up with a technique that no matter how we take the reading, we somehow know “which bag has the lighter coins”.
Now once you know that you have to find the “which” bag. you should starting thinking about the objects i.e., how can you index those bags in a way that each bag represent its weight ?
Now lets bring some math in and take some help from magical # 9. The beauty of this number is that the number of times you add it, it will give you 2 things
So lets add 2 times.
9 + 9 = 18 (it is 2 places away from closest decimal i.e., 20)
lets add 9 6 times
9 + 9 + 9 + 9 + 9 + 9 = 54 (its 6 places away from next decimal point i.e., 60)
So using 9, you can index those bags. i.e., label all those bags as 1, 2, 3, 4, 5, 6, 7, 8, 9, 10. For the sake of explanation lets say i have only 3 bags. so label would be 1, 2, 3
Now, pick number of coins which correspond to the bag number. (assume bag 2 has 9g coins)
So from
bag 1, I will pick 1 coin = 1 x 10 = 10
bag 2, I will pick 2 coins = 2 x 9 = 18
bag 3, I will pick 3 coin = 3 x 10 = 30
sum it up = 58
But total should have been 60 ? which means it lacks 2 grams which means that the coins which are picked from bag 2 are the ones which has bad coins.
Now you can apply this same logic to all bags.
p.s: why did i chose number 9 ? because the coins weigh 9 and that was the biggest hint. had those weight 8 or something else things would have been difficult.
Re: Logic Quiz
**Alright guys Next one
**Before i go on to one of my favourite and possible the toughest one, here is another easy one.
You are given 8 balls and you have a balance scale. You can use this scale as many time as you want. All balls are of same weight except 1 (which weighs lighter). Now tell me minimum number of times you need to use the scale to figure out which ball is this ?
p.s:
for people who don’t know what a balance scale is https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Balanced_scale_of_Justice.svg/1280px-Balanced_scale_of_Justice.svg.png
Re: Logic Quiz
Already did … http://www.paklinks.com/gs/general/657960-logic-quiz-post10321865.html#post10321865
Re: Logic Quiz
@MustafaQuraishi My okay was response to Eastern Dresses post on reading solution of first quiz.
Re: Logic Quiz
no worries, I can mark @SID_NY a dumb one … not a big deal ![]()
Re: Logic Quiz
If its another mathematical quiz, i aint diving in..
Re: Logic Quiz
its more of computer science than math. biggest hint
Re: Logic Quiz
8 balls…
4 on left and 4 on right… lighter side will go up… 1 time
take two balls from lighter side and removed the ball from other side and place two balls in it… - 2 nd time..
Repeat same method… 3 rd time.
You can use scale three time … :cobra:
P.s. solved problem.. feeling bigger balls… :devil:
Re: Logic Quiz
3 times.
And tried it on basic logic not on any computer etc terms.
You know i got a degree in CS from Axact ![]()
Re: Logic Quiz
I am not satisfied your answer. you guys used binary search here but binary search isn’t efficient here. could you make it more efficient ?
Re: Logic Quiz
In that case, scale will at most used by 7 and at least by 1. :cobra:
What will be Big(o) notation of sort? 7?
Re: Logic Quiz
Not satisfied with the answer or with the explaination? Answer will either be right or wrong