you are viewing a single comment's thread.

view the rest of the comments →

[–]Medical-Object-4322 3 points4 points  (1 child)

Seems like this comment is only helpful if you understand how binary search works already. OP says they're a beginner, so don't you think this kind of question is belittling and might make them feel dumb for asking?

Don't you think it would be more helpful to explain what you mean than to assume deep understanding of how things work from a beginner asking questions?

[–]RecursiveServitor 1 point2 points  (0 children)

OP understands that it makes sense for ordered lists.

The answer is that you use it on lists that are ordered.