Given an integer array nums, determine if there exists a triple of indices (i, j, k) such that i < j < k and nums[i] < nums[j] < nums[k]. Return true if such indices exist, otherwise return false.
Click Run to execute sample tests.