InterviewDB Experience

Wordle: Implement the Core Game Logic for a Wordle Word-Guessing Game

Interview Experience

Round 1 - Coding Problem Implement the core logic of Wordle. The player has 6 attempts to guess a 5-letter secret word. After each guess, each letter is marked: correct position (green/G), wrong position (yellow/Y), or not in word (gray/X). Example Follow-ups How do you handle duplicate letters correctly — e.g., secret is "crane" and guess is "erred"? Walk through the marking logic. How would you build a solver that narrows the candidate word list using feedback from each guess? How do you valid…

Full Details

🔒

Unlock all Retool questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a candidate experience report from a retool interview during the phone round.

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