Bloomberg Interview Question

Design a checker for Wordle