C# jagged array should not be used

Problem: https://leetcode.com/problems/merge-intervals/
Language: C#

The signature for the problem uses a jagged array for the input parameter and the return value
public int[][] Merge(int[][] intervals)

Syntax for a a 2D array in C# is:
int[,] array

Comments (2)