Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
977 views

Count number of previous elements greater than its element at present index

Suppose I have a vector containing n elements. I want to find out the number of previous elements greater than its element at present index i. I want to find ...
sukesh's user avatar
  • 21
-2 votes
1 answer
189 views

Challenge - Construct binary tree from array [closed]

A coding challenge to construct a binary tree from an array. ...
Drewsup123's user avatar
8 votes
2 answers
1k views

Find kth largest element in the union of two sorted array (Follow up)

Problem statement: Find \$kth\$ largest element in the union of two sorted array, assuming that two sorted arrays are in ascending order. The size of two arrays are \$m\$, \$n\$. My introduction of ...
Jianmin Chen's user avatar
  • 2,456