Skip to content

Category Archives: Game Theory

Given a circular connected binary array X[] of length N. Considered two players A and B are playing the game on the following move: Choose… Read More
Given two integers N and M. Two players A and B are playing this game, and the task is to find the winner A or… Read More
You are given an arr[] of length N, containing positive integers. Then the task is to find the winner when two players are playing the… Read More
Bunty and Dolly are playing a game, described as follows:There are two boxes having A and B number of chocolates respectively. Both can eat L… Read More
Jon and Arya are playing a game. The rules of the game are as follows: They have a single number N initially. Both will play… Read More
Two friends, A, and B are playing a game. In this game, a group of N coins is placed. The players can pick any number… Read More
Given an arr[] of binary digits. Consider two players X and Y are playing a game where in one move a player can remove any… Read More
You are given an arr[] of distinct positive integers along with an integer X (X ≥ 1). arr[] contains only 1 and all possible powers… Read More
Given an arr[] of positive integers of length N. Player X and Y plays a game where in each move one person chooses two elements… Read More
Given two even numbers A, and B, the task is to find the minimum number of operations required to make both numbers equal if it… Read More
Given a circular array arr[] of size N containing positive integers only, Player A and B are playing a game, turn by turn, the game… Read More
Given three integers N, R, and C representing an N*N chessboard and the position (R, C) where the rook and the bishop is placed. The… Read More
Given a grid on the XY plane with dimensions r x c (where r denotes maximum cells along the X axis and c denotes maximum… Read More
Given an array arr of size N, and also given that Alice and Bob are playing a game and Alice has a number A and… Read More
Given a car race track of length N units. where each car moves with a speed of 1 unit per second. Given two arrays left[]… Read More