And it seems we agree that the optimal solution (excluding approaches involving human frailty or psychology), will still be a binary search.Yes, of course, I definitely agree with you that the optimal solution is binary search. And your initial post was very good, I was only picking up on a very minor detail, sorry about it, but I thought it was interesting to make the "educated random guess" experiment.
In reply to Re^4: Updates to a guessing number script
by Laurent_R
in thread Updates to a guessing number script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |