Solution
Ajay is the gun
Bhuvi is the robot
Chandu is the missile
Bhuvi is not the gun, since if she is, then Ajay would also be the gun. It is contradictory. Therefore, we can conclude here that Bhuvi is a robot who can either lie or tell the truth.
Chandu is also not the gun since his statement would then be a lie. Hence, we get a conclusion here that Chandu must be the missile that always lies.
Therefore, Ajay is the Gun, Chandu is the missile, and Bhuvi is the robot.
Check out this problem - 8 Queens Problem
Frequently Asked Questions
What is the missile, gun and the robot puzzle?
There are three people, namely Ajay, Bhuvi, and Chandu. One of them is a missile, one a gun, and one a robot. The gun always speaks the truth, the missile always lies, and the robot can lie or tell the truth. You have to find out who is who.
Why do we do puzzles in interviews?
Usually, interviewers ask puzzles to see how you go about solving a tricky problem. Most companies avoid asking it because most puzzles hinge on a single trick that a person can easily miss when having a bad or nervous day.
What is a puzzle interview?
Microsoft popularized the puzzle interview in the 1990s. Puzzle interviews ask the applicant to solve puzzles like "Why are manhole covers round?" or unusual problems like, "How would you weigh an airplane without a scale?".
What are some of the most typical puzzles posed during an interview?
Some of the most popular interview puzzles are:
Crossing the Bridge Puzzle
The Man in the Elevator Puzzle
Heaven or Hell Puzzle
Three Mislabeled Jars
Gold Bar Cut Puzzle
Man Fell in Well Puzzle
Horses on a Race Track Puzzle
Bag of Coins Puzzle
Will puzzles be asked in interviews all the time?
While most interviewers do not usually ask for puzzles, they are relatively frequent, and some interviews may even include specialized puzzle-solving parts. It is always a good idea to be prepared in case something happens.
Conclusion
This article gives information about the missile, gun and the robot puzzle and how puzzles like the missile, gun and the robot make an individual's problem-solving skills better.
Recommended Readings:
Click here to read about Problems, Test Series & Top 150 Interview puzzles.
Do check out The Interview guide for Product Based Companies as well as some of the Popular Interview Problems from Top companies like Amazon, Adobe, Google, etc. on Coding Ninjas Studio.
Also check out some of the Guided Paths on topics such as Data Structure and Algorithms, Competitive Programming, Operating Systems, Computer Networks, DBMS, System Design, etc. as well as some Contests, Test Series, Interview Bundles, and some Interview Experiences curated by top Industry Experts only on Coding Ninjas Studio.
Do upvote our blog to help other ninjas grow.
Happy Learning!