Questions d'entretien

Entretien pour Deep Learning

-

HyperVerge

There are 10 stacks of 10 coins each. Each coin weighs 10 gms. However, one stack of coins is defective and each coin in that stack weights only 9 gms. What is the minimum number of weights you need to take to find which stack is defective? How?

Répondre

Réponses aux questions d'entretien

5 réponse(s)

0

You can also apply a binary search. which will give you the answer minimum 3 and max 4

Anonymus le

0

Can be done in 2 weights

Utilisateur anonyme le

0

Can be done in 2 weights.

Utilisateur anonyme le

0

Was this for deep learning intern or was it for 'summer' deep learning intern?

Utilisateur anonyme le

3

Make 5 groups of 2 stacks each, weigh them = 5 & Finally weigh the one with lower weight =1 5+1=6

Utilisateur anonyme le

Ajouter des réponses ou des commentaires

Pour commenter ceci, connectez-vous ou inscrivez-vous.