Last Updated: Mar 27, 2024

# Missile, Gun and the Robot

Leveraging ChatGPT - GenAI as a Microsoft Data Expert
Speaker
Prerita Agarwal
Data Specialist @
23 Jul, 2024 @ 01:30 PM

## Introduction

Puzzles are good exercise for the brain. They help in enhancing the cognitive abilities of the brain helping with Problem Solving and related skills. There are numerous types of puzzles; each one having a logic inherent to itself which helps in cracking it. A good puzzle well is actually like a good mystery that we may have read about or watched on TV. It has the finest of hints which help in reaching its solution.

The following article discusses one such puzzle so let's get right to it.

## Problem Statement

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.

Statements :

Ajay: "Chandu is a missile."

Bhuvi: "Ajay is a Gun."

Chandu : "I am the robot."

Find out the missile, gun and the robot?

Get the tech career you deserve, faster!
Connect with our expert counsellors to understand how to hack your way to success
User rating 4.7/5
1:1 doubt support
95% placement record
Akash Pal
Senior Software Engineer
326% Hike After Job Bootcamp
Himanshu Gusain
Programmer Analyst
32 LPA After Job Bootcamp
After Job
Bootcamp

## 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

### 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.

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!

Topics covered
1.
Introduction
2.
Problem Statement
3.
Solution
4.