Advanced Game Theory Problems for Coding Interviews
13 advanced Game Theory problems from real coding interviews, each with test cases you can run online. By difficulty they split into 0 basic, 0 intermediate and 13 advanced. The companies that ask them most often are Google, Microsoft, Infosys.
Solve a few problems of each level, name the pattern after each one and revisit the ones that needed a hint a week later. Practise stating the time and space complexity and the edge cases before you code.
Coding problems
- Remove Max Edges Keeping Full Traversal (Advanced)
- Stone Game V (Advanced)
- Cat and Mouse (Advanced)
- Stone Game VIII (Advanced)
- Fibonacci Nim Winner (Advanced)
- Wythoff Game Winner (Advanced)
- Kayles Game Winner (Advanced)
- Multi-Pile Subtraction Game Winner (Advanced)
- Euclid Subtraction Game Winner (Advanced)
- Dominoes on a Strip Game Winner (Advanced)
- Green Hackenbush Tree Winner (Advanced)
- Grundy's Game Winner (Advanced)
- Knight Corner Game Winner (Advanced)
Related
Frequently asked questions
How do I get good at game theory problems?
Practise by level, name the pattern after you solve each problem and review the ones you needed hints for. The list is ordered so you can start with the basic ones.
Can I run game theory problems online here?
Yes. Each problem opens in an editor that runs your code against test cases in Java, Python, C++, Go, JavaScript and more.