recategorized by
1,173 views

1 Answer

Related questions

8 votes
8 votes
3 answers
1
Kapil asked Sep 4, 2016
3,976 views
In a min-heap with n elements1). The 7th smallest element can be found in time, if duplicates are allowed ?2). The 7th distinct smallest element can be found in time, I...
11 votes
11 votes
5 answers
2
Vikrant Singh asked Dec 28, 2014
3,707 views
What is the complexity of finding $50^{th}$ smallest element in an already constructed binary min-heap?$\Theta(1)$$\Theta (\log n)$$\Theta (n)$$\Theta (n \log n)$