986. Interval List Intersections

Can someone help me to understand the function arguments and meaning.
its very confusing.
i know only c prog language.
I can understand the question and thought of a way to do it.
But to implement i need to understand what this function arguments mean.
Can someone explain it, it willl be helpful.

given this array
:A = [[0,2],[5,10],[13,23],[24,25]], B = [[1,5],[8,12],[15,24],[25,26]]

a[4][4] = {{ 0,1},
{5,10},
{13,23},
{24,25} };
b[4][4] = {{1,5},
{8.12},
{15,24},
{25,26}
};
"""
/**

  • Return an array of arrays of size *returnSize.
  • The sizes of the arrays are returned as *returnColumnSizes array.
  • Note: Both returned array and columnSizes array must be malloced, assume caller calls free().
    /
    int
    intervalIntersection(int** A, int ASize, int* AColSize, int** B, int BSize, int* BColSize, int* returnSize, int** returnColumnSizes){

}
"""

Comments (1)