#greedy
Read more stories on Hashnode
Articles with this tag
You are given a string word containing distinct lowercase English letters. Telephone keypads have keys mapped with distinct collections of lowercase...
Given an integer array nums, return true if there exists a triple of indices (i, j, k) such that i < j < k and nums[i] < nums[j] < nums[k]. If no such...