An array in Java is a type of variable that can store multiple values. It stores these values based on a key that can be used to subsequently look up that information. Arrays can be useful for ...
//start matlab minimum value(max number in case of k=n) and end matlab maximum value(sum of nums in case of k=1) //inke beech m hi ans exixts //so here we will take mid as our ans everytime and ...