CodingMedium
Find a sorted subsequence of size 3 in linear time
Filed under Zeta
The question
Find if there exists a subsequence of size 3 in an array such that the elements are in increasing order.
No write-up yet. Related questions below have one.
Related Zeta questions
Collected from public candidate posts and coding forums. Updated Nov 2026.