I want to ask that is any search space (basically numbers arranged from 0 in increasing order) already present in binary search in c++ ??
Regarding monotonic search spaces
hello @sarthak_singhal
search space vary from problem to problem ,so its always our responsibility to analyse the problem and decide its search space.
Can I assume that search space is an imaginary array.
yeah u can imagine as an array which has montonic property
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.