Word Guessing Feedback

Given a dictionary, a secret word, and a guessed word, your task is to provide feedback based on these inputs. The feedback rule is as follows:

  • For each letter, if it exists in the same position in...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: