GATE CSE · Algorithms · क्विज़
Algorithms — झटपट क्विज़
Algorithms पर GATE CSE के पैटर्न के 5 सवाल। तुरंत स्कोर और हल — कुछ ही मिनटों में देखें आप कहाँ हैं।
प्रश्न 1 / 5
कठिनA complete binary tree with height h is stored in an array representation. An algorithm computes the sum of all elements in the subtree rooted at index i in O(k) time, where k is the number of nodes in that subtree. What is the worst-case time complexity to compute the sum for all nodes in the tree?