Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9000339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:17:57+00:00 2026-06-16T00:17:57+00:00

Possible Duplicate: Where is binary search used in practice? What are the applications of

  • 0

Possible Duplicate:
Where is binary search used in practice?
What are the applications of binary trees?

I have done various exercises involving adding,deleting,ordering and so on.

However i am having a hard time visualizing the use of binary search tree in real world programs. I mean sure it is way faster than some of the other algorithms for searching. But is this its only use ?

Could you give me some examples of this algorithm use in real world software.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:17:58+00:00Added an answer on June 16, 2026 at 12:17 am

    Whenever you use maps (or dictionaries) you are using binary search trees. This means that when you need to store arrays that look like

    myArray["not_an_integer"] = 42;
    

    you are probably using binary search trees.

    In C++ for instance, you have the std::map and std::hash_map types. The first one is coded as a binary tree with O(log(n)) insertion and lookup, whereas the second one is coded as a hash map (with O(1) lookup time).

    EDIT: I just found this answer. You should take a look at it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Managing large binary files with git The situation is that I have
Possible Duplicate: Float to binary in C++ I have a very small double var,
Possible Duplicate: Reading binary file from URLConnection Now I have a URL: ( http://elsa.berkeley.edu/~saez/TabFig2005prel.xls
Possible Duplicate: Determine if two binary trees are equal Got an interview yesterday, a
Possible Duplicate: Convert a binary string representation to a byte array I have a
Possible Duplicate: Converting decimal to binary in Java I have found this code that
Possible Duplicate: Hex to binary in ruby In Python, I can do the following:
Possible Duplicate: Get image data in Javascript? Convert an image into binary data in
Possible Duplicate: How do you express binary literals in Python? When using the interactive
Possible Duplicate: What is strong naming and how do I strong name a binary?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.