InterviewDB Question

String Matching Game: Implement a Wordle-Style String Guessing Game Engine

Question Details

Problem Implement a string matching game engine. The system selects a secret word; the player submits guesses. Each guess receives per-character feedback: 'G' (green) — correct character, correct position 'Y' (yellow) — character in word, wrong position 'X' (gray) — character not in word Multiple occurrences are handled carefully: yellows and greens together should not exceed the true count of that character in the secret. Example Follow-ups Walk through the exact algorithm for handling duplicat…

Full Details

🔒

Unlock all Jane Street questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a reported interview question from a jane street interview during the phone round.

It covers the following topics: Coding, Onsite, Phone, Strings .