Why i am getting wrong ans in MIN QUERY-1


please check i am getting wa