[todo] Find minimum of an array in O(1) - some queries give wrong answers