Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
Misc
7.8K+ articles
Mathematical
5.1K+ articles
Arrays
4.2K+ articles
Strings
2.1K+ articles
Greedy
1.4K+ articles
Sorting
1.1K+ articles
Dynamic Programming
1.1K+ articles
Searching
1.0K+ articles
Tree
909+ articles
DSA
/
Algorithms
/
Game Theory
Game Theory
98 posts
Recent Articles
Popular Articles
Find the winner of game where X picks 1, then Y picks 2, then X picks 3 and so on
Last Updated: 25 November 2023
Two players X and Y are picking up numbers alternatively with X picking first. In the first turn X picks 1, then Y picks 2, then X picks 3 and the game goes on like this. ...
read more
Greedy
Mathematical
Game Theory
Algo Geek
Algo-Geek 2021
DSA
Find the time when last car reaches end of track in given race
Last Updated: 22 March 2022
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[] and right[] denoting the positions of the cars mo...
read more
Misc
Game Theory
DSA
Arrays
Maximum power in N levels from K such that defeating boss at level A[i] increases power by B[i]
Last Updated: 24 March 2023
Given two arrays a[] and b[] of size N and an integer K. The task is to find the maximum power that can be achieved in N levels with initial power K such that after defeat...
read more
Greedy
Game Theory
DSA
Moving on grid
Last Updated: 04 May 2022
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 cells along the Y axis), the two players (say JON ...
read more
Matrix
Game Theory
DSA
Maximum cells attacked by Rook or Bishop in given Chessboard
Last Updated: 31 May 2022
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 task is to find out who can attack the...
read more
Mathematical
Game Theory
DSA
chessboard-problems
Find winner of the Game where Array elements are reduced in each turn
Last Updated: 06 October 2022
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 will start with player A at index 0 and...
read more
Game Theory
DSA
Arrays
Minimize steps to make given two number equal by adding LSB
Last Updated: 29 August 2022
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 is possible else print -1. In a single oper...
read more
Mathematical
Game Theory
DSA
Find winner of game where in each step a value from given Array is reduced from X
Last Updated: 01 November 2022
You are given an arr[] of distinct positive integers along with an integer X (X ? 1). arr[] contains only 1 and all possible powers of prime number such that every element...
read more
Game Theory
DSA
Number of coins to be removed for the first player to win the Game
Last Updated: 23 December 2022
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 of coins between 1 and 4 (both inclusive) in their ch...
read more
Technical Scripter
Game Theory
Picked
Technical Scripter 2022
DSA
Find winner of game where in each move division of N or subtraction is done
Last Updated: 20 December 2022
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 an alternate move. Jon starts first.Both will pl...
read more
Dynamic Programming
Technical Scripter
Game Theory
Picked
Technical Scripter 2022
DSA
Find winner when players can increment any element following given constraints
Last Updated: 13 January 2023
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 game by alternatively following the ...
read more
Technical Scripter
Game Theory
Technical Scripter 2022
DSA
Game of Chocolates | Wythoff's Game
Last Updated: 05 August 2024
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 (L = 1) chocolates from any o...
read more
Technical Scripter
Game Theory
Picked
Technical Scripter 2022
DSA
Practice Problems on Game Theory
Last Updated: 28 September 2023
Game Theory is a topic in competitive programming that involves a certain type of problem, where there are some players who play a game based on given rules and the task i...
read more
Game Theory
DSA
Find the winner between N and M based on the Integer Subtraction
Last Updated: 06 December 2023
Given two integers N and M. Two players A and B are playing the game on these integers. The task is to output the winner if A starts first and last the player who makes th...
read more
Game Theory
Geeks Premier League
DSA
Greedy Algorithms
Geeks Premier League 2023
Find the winner by incrementing co-ordinates till Euclidean distance <= D
Last Updated: 20 February 2024
A and B play a game and A starts first. Consider a Token placed at (0,0) in a 2D plane, a player can perform the below moves on the token: increase x coordinate of the tok...
read more
Geometric
Game Theory
Picked
Geeks Premier League
DSA
Geeks Premier League 2023
1
2
3
4
5
6
7
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !