The worst case complexity of deleting any arbitrary node value element from heap is __________
(a) O(logn)
(b) O(n)
(c) O(nlogn)
(d) O(n^2)
My question is taken from Heap topic in chapter Heap of Data Structures & Algorithms I
This question was posed to me in an interview for internship.