Skip to content

Category Archives: Puzzles

A magician asks a person to select a card from a pack of 27 cards and return it back without showing it back to the… Read More
There are four knights on a 3 x 3 chessboard. The two white knights are at the two bottom corners, and the two black knights… Read More
Puzzle: For each of the following chess pieces, find the minimum number of colors needed to color an N x N chessboard, such that no… Read More
Given an integer N denoting the length of a given stick, the task is to minimize the time required to split the stick into pieces… Read More
Given a range [L, R], the task is to find a pair (X, Y), not necessarily distinct. Find the maximum possible value of the bitwise… Read More
Given an integer K and an index array arr[] of length N which contains elements in the range [1, N], the task is to find… Read More
Given a positive integer N, the task is to find the average of cubes of first N natural numbers. Examples:   Input: N = 2 Output: 4.5 Explanation: For integer… Read More
Given a number N. The task is to find the expected number of times a coin must be flipped to get N heads consecutively. Example:… Read More
Puzzle: Find all values of N for which one can dissect a square into N smaller squares, and outline an algorithm for doing such a… Read More
Puzzle Is there a way for a chess knight to start at the top-left corner from a N x N chessboard, visit all the squares… Read More
Puzzle: You have to make N (≥ 1) pancakes using a skillet that can hold only two pancakes at a time. Each pancake has to… Read More
Given an array arr[], the task is to check if it is possible to make the sum of array odd such that any two indices… Read More
Puzzle: You are given a jigsaw puzzle that contains n pieces. A “section” of the puzzle is a set of one or more pieces that… Read More
Puzzle: A group of 25 tourists had to cross a wide and deep river with no bridge in sight. They notice two 10-year-old boys playing… Read More
Puzzle: Find all values of n > 1 for which one can divide a rectangle into n right-angled triangles. Answer: We can divide any rectangle… Read More