Software Engineer • Mid-Level
Software Engineer • Mid-Level
High QualityPrep Other Coding Questions Asked by Bloomberg
Continue with targeted prep from Bloomberg's coding question bank.
Interview Summary
One interview focused on object-oriented design for a poker game, including shuffling, dealing cards, and comparing five-card poker hands. The other involved two standard LeetCode problems: Add Two Numbers II and Decode String.
Interview Details
Round 1 — Object-Oriented Design: Poker Card Game
The first team's technical phone screen focused on object-oriented design rather than a traditional LeetCode problem. I was asked to design a poker card game supporting several core operations. The system needed to handle:
- Shuffling a deck of playing cards.
- Dealing cards to players.
- Evaluating and comparing five-card poker hands.
I hadn't seen many Bloomberg interview experiences involving this particular type of OOD problem, so the question was somewhat unexpected.
-
Part 1 — Shuffle a Deck of Cards
The first requirement was to support shuffling a deck of playing cards. I needed to think about how to represent the cards and deck in an object-oriented design and provide a way to shuffle the cards.
-
Part 2 — Deal Cards to Players
The
Unlock Full Details
Create a free account to unlock this interview experience report.