← Questions

Third-largest word by length

0
CognitionCodingLast asked Mar 2026

Given a list of at least three words, rank them from longest to shortest and return the word in third place. Words of the same length keep the order they had in the input, so the ranking must be stable.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding