int *build_array(char **strs, int size) {
    int *arr = malloc(size*sizeof(int));
    for(int i = 0; i < size; i++){
        arr[i] = strtol(strs[i], NULL, 10);
    }
    return arr;
}

suppose to convert str into array of int