Card Game: Find Three Cards Summing to 15
Fix a failing test case for invalid move validation in a card game, then implement a strategy to repeatedly find sets of 3 cards that sum to 15 from a matrix of drawn cards. The solution should continue finding valid combinations until no more sets are possible.
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Late January, 2026
Meta
Mid-level
Late January, 2026
Meta
Senior
Late January, 2026
Meta
Manager
You had to implement the solution to play this game such that we can we can play maximum turn. Greedy approach will not yield this. Recursion and backtracking is needed for it. I would suggest to use AI bot as much you you can to generate the code and for debugging.
Your account is free and you can post anonymously if you choose.