Spotnana | Senior Software Engineer Interview

spotnana logo
spotnana
· Senior Software Engineer
May 11, 2026 · 1 reads

Summary

I was asked a two-letter card game problem during my Spotnana interview. The problem involved strategic thinking and optimization.

Full Experience

This was asked to me in the Spotnana interview :

Two letter card game : https://leetcode.com/problems/two-letter-card-game/description/

Interview Questions (1)

1.

Two Letter Card Game

Data Structures & Algorithms·Medium

In this game, you are given a deck of cards where each card has one of two letters: 'A' or 'B'. You can pick up two adjacent cards at a time. If both cards have the same letter, you earn points equal to the count of that letter remaining in the deck after removal. The goal is to maximize your total score by choosing optimal pairs.

📣 Found this helpful? Please share it with friends who are preparing for interviews!

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!