You have 12 pills and they all got the same weight,except for one,which hasn't got the same weight.You don't know if it is heavier or easier.You have one scale to weight the pills. Find out,which pill is the right with least no. of weights?

Anonymous
1y

To find the odd pill with the least number of weighings, you can use the "divide and conquer" strategy. Follow these steps:

1. Divide the 12 pills into three groups of 4 pills each (Group A, Group B, a...read more

Akash Kelotra
1y

having 12 pills

don't no the weight it's heavier or easier.

find it

first of all

form a group of 3

and weight two groups

next find the group which have different pill

and then divide the different gr...read more

ajay geddam
6y

3

Add answer anonymously...
Futures First info Services Trainee Market Analyst Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter