Class CommonUtils

java.lang.Object
com_github_leetcode.CommonUtils

public class CommonUtils extends Object
  • Constructor Details

    • CommonUtils

      public CommonUtils()
  • Method Details

    • compareArray

      public static boolean compareArray(int[] arr1, int[] arr2)
    • compareArray

      public static boolean compareArray(List<Integer> arr1, List<Integer> arr2)
    • compareMatrix

      public static boolean compareMatrix(List<List<Integer>> mt1, List<List<Integer>> mt2)
    • convertLeetCodeRegularRectangleArrayInputIntoJavaArray

      public static int[][] convertLeetCodeRegularRectangleArrayInputIntoJavaArray(String input)
    • convertLeetCodeIrregularLengths2DArrayInputIntoJavaArray

      public static int[][] convertLeetCodeIrregularLengths2DArrayInputIntoJavaArray(String input)