Problem 53960. Wordle
Solution Stats
Problem Comments
-
3 Comments
The values of 'y_correct' in test problems 2, 3, and 4 are incorrect.
No, test cases 2, 3 and 4 were built specifically to show how your code should behave in those situations. The code should only consider the correct amount of letters. if there are 2 s's in your guess, but only one in the word, only one should be considered (the most correct one, if any, else the first one)
Oh, I see. Thanks for the clarification!
Solution Comments
Show commentsProblem Recent Solvers8
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15764 Solvers
-
Swap the first and last columns
22425 Solvers
-
Find the alphabetic word product
3451 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2521 Solvers
-
773 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!