Implement a Wordle-style generateFeedback function.
Unlock detailed company stats for this questionUpgrade
Implement a Wordle feedback algorithm, similar to LeetCode's Bulls and Cows. generateFeedback("crane", "train") should return "XGGXY". Follow-ups: call it over a list of words, and handle a maximum number of attempts.
Community answers
No answers contributed by the community yet.
Related questions
Generate Wordle-style feedback for a guess against a secret word.Implement a decode and encode function of a general N-ary tree.Implement a stack.Related courses

Course

Course
Course
