InterviewDB Question

Wordle Game: Implement Core Wordle Logic with Scoring and Guess Validation

Question Details

Problem Implement the core logic for a Wordle-style word game. Given a 5-letter secret word and a 5-letter guess, return a per-letter result: GREEN (correct position), YELLOW (letter in word but wrong position), GRAY (letter not in word). Handle dupl…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Phone