fn min_rotated_arr(nums: &[i32]) -> i32 {
    // your move
}