PrepBytes Interview Puzzle Series: Puzzle #3

preview_player
Показать описание
Puzzles are part of more than 80% of the IT/Software/Analytics companies interview questions. Solve puzzles with us & make your placement preparations more robust.

Subscribe the channel to get more useful contents.
More amazing puzzles coming soon!

Aiming to get placed in IT/Software companies. Get your dream job with PrepBytes Placement Program.
Get Mentorship, Video Lectures, Doubt Sessions, Mock Tests, Mock Interviews all in one program.

Like/Follow for more useful contents:

Рекомендации по теме
Комментарии
Автор

just one attempt required !!
let 1--apple, 2--orange, 3--orange+apple
now let us choose the first crate to open
that will either have Orange in it or Orange and apple
let it has orange
so we'll change its label to orange, and for 2-orange+apple and 3-orange
using the fact that crates were labelled incorrectly :)

anandkumar.
Автор

1 attempt only !
suppose we check crate 1, remove its label and have to replace it with the label on crate 2, then the replaced label(which was initially on crate 1) will be for crate 3, and crate 3's initial label will be put on crate 2 (since we know that all labels are surely incorrect initially, so we will change all of them.)

kritikasachdeva