Sponsored
Use these hints if you're stuck. Try solving on your own first.
A good string must contain at least one <code>l</code>, one <code>t</code>, and two <code>e</code>.
Divide the problem into subproblems and use Dynamic Programming.
Solve with full IDE support and test cases