Refactor Code Style (#4151)

This commit is contained in:
Saurabh Rahate
2023-04-15 13:55:54 +05:30
committed by GitHub
parent 1ce907625b
commit 1dc388653a
100 changed files with 293 additions and 319 deletions

View File

@@ -31,7 +31,7 @@ public class UniquePaths {
// The above method runs in O(n) time
public static boolean uniquePaths2(int m, int n, int ans) {
int dp[][] = new int[m][n];
int[][] dp = new int[m][n];
for (int i = 0; i < m; i++) {
dp[i][0] = 1;
}