Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the complexity of adding an element to the heap?



What is the complexity of adding an element to the heap?..

Answer / Mohd.asif

Adding an element to a binary heap follows a time complexity of O(log n), assuming a complete binary tree.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

How many types of linked list are there?

1 Answers  


Explain the common uses of tree database.

1 Answers  


How will you sort the elements of array in descending order?

1 Answers   Wipro,


what is atmost complete binary tree?

6 Answers  


Why is data structure important?

1 Answers  


What is a vector element?

1 Answers  


What is the difference between adt and data structure?

1 Answers  


What is the difference between data types and data structures?

1 Answers  


Define the tree data structure.

1 Answers  


Can a class have a constructor?

1 Answers  


Differentiate between an array and an arraylist.

1 Answers  


What is a treeset?

1 Answers  


Categories