To Divide An Array Into K Segments Such That The Minimum Of The Segments Is The Maximum