cant we do this question with hashmap by making the unordered map of index and element and then just count the elements greater than k in that map
cant we do this question with hashmap by making the unordered map of index and element and then just count the elements greater than k in that map