Kth Next greater element for each index in an array - KLA OA Question | OAHelper