Sponsored
Use these hints if you're stuck. Try solving on your own first.
One possible solution might be to consider allocating an array size of 26 for each character in the alphabet. (Credits to @r2ysxu)
Solve with full IDE support and test cases