Autodesk Interview Question

Write a code to implement wordle