If X = |A[i,j]|, O(X) time algorithm which is higher then my tree solution that runs in O(logX) if i understood you correctly
But never the less, this is a nice trick that didn't cross my mind. Thank you !!!!
In reply to Re^2: bit-vector > global minimum
by baxy77bax
in thread bit-vector > global minimum
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |