132 Pattern
Medium
Stack (Advanced)
Print true if there are indices i < j < k with nums[i] < nums[k] < nums[j], otherwise false.
Constraints
1 <= n <= 2 * 10^5
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.