Function array_to_string

Source
pub fn array_to_string(array: &Vec<i32>, include_count: bool) -> String
Expand description

This function converts an array of integers to a string.

It is used to generate the input for test cases. If it receives an array of [1, 2, 3] and include_count is true, it will return the string ā€œ3\n1 2 3\nā€. If include_count is false, it will return the string ā€œ1 2 3\nā€.