132 Pattern problem
Filed under Unthinkable Solutions
The question
Given an array of n integers, find if there is a 132 pattern (or 321 pattern variation) where three indices i < j < k exist such that the values satisfy the given pattern order.
No write-up yet. Related questions below have one.
Related Unthinkable Solutions questions
Collected from public candidate posts and coding forums. Updated Nov 2026.