Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Last updated: Apr 28, 2022

Interview Puzzles

"What pulls you down and never let's go?" Apart from Gravity, is that your fear of not having solved enough interview puzzles? Well, we have got your back! Find below a curated list of top interview puzzles that won't just engage your mind and sharpen it like a Swiss Army Knife but will also help you in measuring your CS skills as they exhibit certain patterns, logic, or mathematical formula. We hope you will have a good time solving them! All the best!

Mathematical Puzzles

Mathematical Puzzles mainly refer to the puzzles which are or include mathematical formulas or logic behind them. The solution to such puzzles is based on the mathematical background and solved on such a basis. This includes puzzles that have solutions with mathematics as their backbone.
Monty Hall Problem EASY
In this article, we have extensively discussed the Interview puzzle, Monty Hall Problem, which involves logical thinking and observation to solve.
Monkeys and the Doors MEDIUM
This blog discusses a puzzle called the Monkey and the doors, including its approach and implementation in python language.
Ten Black and Ten White Socks EASY
In this blog, we will solve a mathematical puzzle, Ten Black and Ten White Socks that will help us in increase of our observational and logical skills.
Cross the Bridge
In this article, we have discussed very famous Cross the Bridge puzzle which will enhance your problem solving skills.
Wizards and the Dwarves
In this article, we will go through the Wizards and The Dwarfs Puzzle Question that will build up you problem solving skills
Color of the Last Ball
In this article, we will discuss a puzzle called Color of the last ball that will enhance your problem solving skills ability.
Measuring Time by Burning Ropes
In this article, we will go through the Measuring Time by Burning ropes Puzzle Question and its solution for better understanding.
Dinner Hand Shakes
In this article, we will go through the Dinner Hand Shakes Puzzle Question that will increase your problem solving ability.
Color of the Last Ball II
In this article, we will be talking about the Color of the last ball 2 questions along with its solution in detail.
Measure Time by Hourglass
In this article, we will discuss a tricky puzzle i.e. Measure time by hourglass with a detailed solution that may blow your mind to some extent, so stay until the end.
Make a Statement
In this article, we are going to discuss a very tricky puzzle that may blow your mind to some extent, so stay until the end.
Bee Travel
In this blog, we will learn about the Bee Travel puzzle problem and how to solve it.
Prisoners and Poison
In this article, we discuss a famous puzzle, 'prisoner and the poison' to brush up your thinking ability and logical reasoning.
World Trips
In this article, we will be discussing the puzzle; 3 planes are standing at the same airport, and we have to find the maximum distance traveled by 1 plane with the help of 2 other planes.
Next Number
It's a puzzle question based on the number sequence for interview preparations. We have to find the next number from the series given.
One Mile on the Globe
In this article, we will be discussing a puzzle question One Mile on the Globe in detail along with its solution approach.
Marbles in the Jar
In this article, we will see a very famous puzzle problem asked in many interviews.
Author Harsh
0 upvotes
100 People in a Circle
In this article, we will be discussing a famous puzzle, 100 people in a circle with a sword, and also the general solution for the problem where people may vary.
Gates of Heaven
In this article, we are going to discuss the most popular puzzle question Gates Of Heaven along with its solution in detail.
Author Alisha
0 upvotes
Fastest Horses
In this article, we discuss a famous puzzle Fastest Horses in which we need to find the top 3 horses out of 25 horses, with some constraints.
Train Station
This article discusses train stations with their solution. We will first understand the problem statement and then will discuss the solution in detail
Measure Liquid by Cans
In this article, we will discuss a famous interview puzzle of measuring Liquid by using cans of different capacities.
Cross Bridge II
In this article, we will discuss a famous interview puzzle named the cross-bridge II.
Last Palindromic Date
This article will discuss a famous interview puzzle named the last palindromic date that will brush up your palindrome concept and thinking ability skills.
Fake Note
This article will brief you on the mathematical puzzle of Fake Note.
Next Number
This article will brief you on a mathematical puzzle.
Celebrity Problem MEDIUM
This article will discuss one of the most frequently asked in Google, Apple, Amazon - “The Celebrity Problem”.
Spider's web
This article will brief you on a mathematical puzzle.
Ratio of Boys and Girls
The ratio of boys and girls puzzle is about finding the ratio of boys and girls in a town, where people stop having a child after a boy is born in the family.

Logical Puzzles

Logical puzzles mainly refer to the puzzles which are more to the creative or logical side than following mathematics or algorithms. These puzzles will give the same type of answer for the same categorial question no matter how twisted the question may be. You only need to identify the logic behind such puzzles and the question is solved.
Medicine Chest on a Boat
This article gives us the solution to the famous medicine on a boat puzzle that will sharpen your thinking skills.
Quarters on a Table
This article is to understand quarters on a table puzzle that will brush up your analytical skills.
Blindfolded Coin Toss
This article is to understand the blindfolded coin toss problem along with its solution in detail.
Light Switches in the Cellar
This article discusses light switches in the cellar problem with their solution. We will also understand how obvious the answer is, which requires some out-of-the-box thinking.
Daughters' Ages
This blog will cover the problem of daughters' ages with its solution approach to build your critical thinking skills.
Jelly Beans Jars
This blog will cover a famous interview puzzle of Jelly Beans Jars with a solution approach in detail
Genie and Hats
In this article, we have extensively discussed the Interview puzzle, genie and hats, which involves logical thinking and critical observation to reach the solution.
The Tribe
This blog will discuss the problem statement and the approach to the puzzle The Tribe that will increase your thinking ability skills.
Two Pills Each Day
In this article, we have extensively discussed the Interview puzzles Two pills each day that involves logical thinking and observation to solve them.
Two Numbers
In this article, we have extensively discussed the Interview puzzle, two numbers, which involves logical thinking and critical observation to reach the solution.
Min Elevator Trips
This article discusses min elevator trips with their solution. We will first understand the problem statement and then will discuss the solution in detail.
Good Processor
In this article, we have extensively discussed the Interview puzzle, Good Processor, which involves logical thinking and observation to solve them.
Helium Balloon
In this article, we have extensively discussed the Interview puzzle, Helium Balloon, which involves logical thinking and observation to solve.
Color of the Bear
This article is to understand the color of the bear puzzle that will enhance your logical ability.
Place the Numbers
This article is to understand a famous interview puzzle called place the number that will help you increase your logical ability skills.
Policeman and the Prisoner
In this blog, we will be studying the statement and solution regarding the Prisoner and Policeman Puzzle.
MatchStick Problem
In this blog, we will explain the different solutions to the Matchstick problem that includes some tricks to make 3 squares of equal side by moving 3 matchsticks. This puzzle will enhance your thinking ability skills.
2 Eggs 100 Floors
This article gives us the solution to the frequently asked interview puzzle, 2 eggs 100 floors that will help you to build up the thinking skills.
Monkey and the Coconut Problem
This article is about the solution to the famous mathematical puzzle i.e. Monkey and the coconut problem. We will be solving this problem using some tricks to find out the number of coconuts are there in the original pile.
The Knight and the Shortest Path MEDIUM
This article discusses the knight and the shortest path problem with its solution. We will also understand how to get the answer, which requires logical and critical thinking.
100 Prisoners with Red and Black Hats
100 prisoners with red and black hats is a very crucial interview puzzle that involves critical thinking.
100 People in a Circle with a Gun EASY
This blog covers the puzzle problem of 100 people in a circle with a gun with two type of solution approach and implementation in C++, Java, and Python.
Missile, Gun and the Robot
This article discusses the missile, gun and the robot problem with its solution. We will also understand how to get the answer, which requires logical and critical thinking.
Cheryl’s Birthday Puzzle
This article is about the solution to the famous Cheryl’s birthday puzzle where your critical thinking will get sharp.
Camel and the Banana Puzzle
In this article, we will solve the camel and the banana puzzle including two methods to solve the puzzle that will enhance your logical thinking.

Pattern based Puzzles

Pattern Puzzles are the puzzles which are either involve printing a certain pattern with numbers or alphabets or characters. These puzzles may be challenging but are easier as compared to mathematical, algorithmic, or logical puzzles. Such puzzles usually involve printing a rectangle or some other shape with the help of numbers and some other specific condition.
Matrix in Wave Form MEDIUM
This blog will discuss the problem of how to print a matrix in a wave form manner, its approach, and the code in C, C++, Java, and Python programming language.
Matrix in Zig-Zag Form MEDIUM
This blog discusses the solution to represent a given matrix in Zig-Zag form using C, C++,Java, and Python language for the implementation.
Palindrome Pattern MEDIUM
This article shall discuss what a palindrome is and various palindrome patterns along with their code implementation in Java.
Inverted V using Asterisk Pattern MEDIUM
Description: In this article, we will be making Inverted V using an asterisk pattern, which was asked in many tech companies.
Hollow Diamond Star Pattern MEDIUM
This article will discuss the hollow diamond star pattern in Java problem with examples, algorithm, code, implementation, and time and space complexity in detail.
Inverted Pant's Style Pattern
This blog covers the inverted pant's style pattern program and the solution in various languages like C, C++, Java, and Python.
Cross Sign Pattern
In this article, we will be making Cross Sign Pattern, which was asked by many tech companies.
Butterfly Shape Pattern MEDIUM
In this article, we will be making the Butterfly shape Pattern along with its implementation in Java language.
Diamond Number Pattern MEDIUM
In this post, we will learn to print a diamond number pattern in several programming languages i.e. in C, C++, Java, and Python.
Inverted V-shape Number Pattern MEDIUM
In this post, we will learn to print an Inverted V-shape Number pattern in C, C++, Java, and Python programming languages.
V-Shape Number Pattern MEDIUM
This blog explains the C++ program to print the V-Shape Number Pattern in C, C++, and Python language.
Half Diamond Number Pattern EASY
In this blog, we will learn and code how to Print Half Diamond Number Pattern using C Programming Language.
Inverted Half Diamond Pattern MEDIUM
This blog explains the C++ program to print the Inverted half-diamond number pattern along with its implementation and time and space complexity.
Hollow Diamond Number Pattern EASY
This blog will help you in printing the hollow diamond number pattern using Java language.
Fibonacci Half Pyramid
This article discusses the Fibonacci half pyramid pattern problem and its solution in C, C++, Java, and Python.
Floyd Triangle Number Pattern
This article discusses the Floyd triangle number pattern problem and its solution in C, C++, Java, and Python.
Matrix in Reverse Spiral Form EASY
This blog will help in printing the reverse spiral form of the matrix along with the implementation in C++ language.
What Are Pattern Problems? Part-1 EASY
In this blog, we will discuss what are star pattern and pyramid pattern and its implementation in different languages such as C, C++, Python, and Java.