ExamVeda
Login
Home
This question belongs to Data Structure Heaps
Heaps
?

What is the complexity of given function of insertion.
insert(int n)
{
	if(buffer_size()< maxi_biffer_size())
	buffer_aar[ind]==n;
	else
	move_to_heap(buffer,buffer+maxi_buffer_size())
}

Answer & Solution
Correct Answer: Option B
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.