# Category Archives: Game Theory

In this article, will design a simple number memory game in the C programming language. It is a simple memory number game where a randomâ€¦ Read More
Given two integers X and Y representing the number of candies allocated to players A and B respectively, where both the players indulge in aâ€¦ Read More
Given a matrix grid[][] of dimensions M * N, three integers X, Y, and K, the task is to check if there exists any pathâ€¦ Read More
Given a 2D array arr[][] of dimensions N*M, representing a minesweeper matrix, where each cell contains an integer from the range [0, 9], representing theâ€¦ Read More
Given a binary string S of length N, the task is to find the winner of the game if two players A and B playsâ€¦ Read More
Given an array arr[] consisting of N integers and two players A and B playing a game together by performing the following operations: Choose anâ€¦ Read More
Zero-Sum Game:A zero-sum game is one in which no wealth is created or destroyed. So, in a two-player zero-sum game, whatever one player wins, theâ€¦ Read More
Given an integer N denoting the number of boxes in a pen, and two players P1 and P2 playing a game of distributing N pensâ€¦ Read More
Given a binary string S, the task is to determine the winner of the game when two players play a game optimally in alternate turnsâ€¦ Read More
Given an integer N, the task for two players A and B is to make the value of X ( initialized with 1) at leastâ€¦ Read More
Given a positive integer N, representing the count of players playing the game and an array of strings arr[], consisting of the numeric strings madeâ€¦ Read More
Given an array arr[] of size N, the task is to find the winner of the game when two players play the game optimally asâ€¦ Read More
There are two players A and B and a pile of N cards stacked upon each other.  The task is to find the winner ofâ€¦ Read More
Given two arrays of H[] and B[] consisting of N and M integers respectively, denoting the diameter of holes and balls respectively. M number ofâ€¦ Read More
Given a binary array arr[] of size N and two players, A and B. The task is to minimize the score for player A byâ€¦ Read More