+1 vote
in Data Structures & Algorithms I by (110k points)
What is the use of the bin data structure?

(a) to have efficient insertion

(b) to have efficient deletion

(c) to have efficient region query

(d) to have efficient traversal

I would like to ask this question from Trees in division Trees of Data Structures & Algorithms I

This question was posed to me in quiz.

1 Answer

+1 vote
by (672k points)
selected by
Best answer
Right answer is (c) to have efficient region query

The best I can explain: Bin data structure allows us to have efficient region queries. A frequency of bin is increased by one each time a data point falls into a bin.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.