I would take 1 pill from 1st,2 pills from 2nd, 3 pills from 3rd and 4 from 4th and 5 from 5th jar. I'll weigh all of them,if it shows 149 grams then contaminated is the 1st,if 148 then 2nd,147 then 3rd,146 then 4th,145 then 5th.Each contaminated pill is 1 gram less than actual.It's my opinion.That's it. Thank you reading😊 Edit-I didn't expect this is the answer,first time,my answer was correct.I commented before knowing answer.I think i too have some great brain.😊
Mam can we solve it like putting one pill randomly out of jar 2 and put it in 1 st jar and similarly one pill out of 4 th jar and put in jar 3 then measure jars 1 and 3 so if we would get the weight of jar 1 as 1 gram less from a10's multiple that would mean that jar 2 has contaminated pills..but if it has a weight as a 9's multiple+10 than jar 1 would be contaminated similarly with jar 3 and 4 but if both of the jars have perfect weight than th 5th jar has to be contaminated...
Its a DILR set, but much easier, we cab simply take 2 weighting each time time.. Suppose if jar 1 and jar 2 weight is equivalent then, they are correct ones.. If we take 3 jar and 4 jar , their weight is also same, then you simpy take 5 jar as contaminated pills, remember always take the worst case, that's why we need upto 4 weighing..
We will take 1 pill from each jar then we will put 1 pill on one side and on the other side we will put 10gm weight and now we will start put each pill in it simultenously we will increase weight by 10gm at one point we will see that sides are unequal and last pill has weight 9gm and the answer will be the jar from which we take the pill Now this is the basic way to solve this question if the number of measurements is not constraint
Dekho bo 15 pills ki expected weight 150 gm hoga ye to samaj aaya na Ab agar weight 147 hoga to bo 9 gram ki pills total 3 hai kyuki 12*10= 120 and baki 9*3= 27 so 120+27= 147 , or bo 3 pills 3 no jar se liya so 9 gm pills 3 no jar pe joga Agar bo 4 no jar pe hota to total weight 146 gram hota kyuki bo 4 no jar se 4 pills liye the
Special Offer
Use Code: GFGYT30 and get 30% Off on all GeeksforGeeks Courses. 🎉
Click here to grab your discount now: gfgcdn.com/tu/TO9/
How would the number of jars be = the weight of the pills? Like Weight is a different entity and numbers are different right?
I would take 1 pill from 1st,2 pills from 2nd, 3 pills from 3rd and 4 from 4th and 5 from 5th jar.
I'll weigh all of them,if it shows 149 grams then contaminated is the 1st,if 148 then 2nd,147 then 3rd,146 then 4th,145 then 5th.Each contaminated pill is 1 gram less than actual.It's my opinion.That's it.
Thank you reading😊
Edit-I didn't expect this is the answer,first time,my answer was correct.I commented before knowing answer.I think i too have some great brain.😊
It's simple..
Ma'am this was quite easy.
Got it in the first try
Waah man aapko toh sab kuch aata hai aap bhi unke interview mein chale jao paas ho jaoge 😊😊😊
Mam can we solve it like putting one pill randomly out of jar 2 and put it in 1 st jar and similarly one pill out of 4 th jar and put in jar 3 then measure jars 1 and 3 so if we would get the weight of jar 1 as 1 gram less from a10's multiple that would mean that jar 2 has contaminated pills..but if it has a weight as a 9's multiple+10 than jar 1 would be contaminated similarly with jar 3 and 4 but if both of the jars have perfect weight than th 5th jar has to be contaminated...
It's quite simple..
What a explanation didi 🙏❤❤
Its a DILR set, but much easier, we cab simply take 2 weighting each time time.. Suppose if jar 1 and jar 2 weight is equivalent then, they are correct ones.. If we take 3 jar and 4 jar , their weight is also same, then you simpy take 5 jar as contaminated pills, remember always take the worst case, that's why we need upto 4 weighing..
Her name please 🙏🏻
Nishika rai
@Harsh-mq2tc bhagwan apki naukri lagwa de 🙏🏻
Thanks 😊👍🏻
@@PrashantUpadhyay7 😂
@@Harsh-mq2tc ye mujhe instagram pe kyu nahi mil rahin 🥲
Salary 17:48
We will take 1 pill from each jar then we will put 1 pill on one side and on the other side we will put 10gm weight and now we will start put each pill in it simultenously we will increase weight by 10gm at one point we will see that sides are unequal and last pill has weight 9gm and the answer will be the jar from which we take the pill
Now this is the basic way to solve this question if the number of measurements is not constraint
Job milne ke baad call centre jaisi project milti hai😂
Yah main Apne hath se hi kar lunga😅😅😂😂
Rehn de bhai Infosys ke liye kaun solve kare🤣🤣🙏🏻🙏🏻🙏🏻
X gm= 3 gm
Even Infosys is hearing this question for the first time 😂😂😂😂
Hello beautiful gorgeous girl 😍❤️❤️❤️❤️
Explain in english as well
Nice 😊
It's simple
Open the jar and see
I can't understand....😅😅
Dekho bo 15 pills ki expected weight 150 gm hoga ye to samaj aaya na
Ab agar weight 147 hoga to bo 9 gram ki pills total 3 hai kyuki 12*10= 120 and baki 9*3= 27 so 120+27= 147 , or bo 3 pills 3 no jar se liya so 9 gm pills 3 no jar pe joga
Agar bo 4 no jar pe hota to total weight 146 gram hota kyuki bo 4 no jar se 4 pills liye the
💀@@BTSARMY-dl4qp
Thanks
Please I request you to speak in English
God 😢
quontaminated
🤯🤯
😵💫