chore: run pre-commit

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-01-19 07:12:37 +01:00
parent c9f0e952a5
commit 48eae7f00b
Signed by: mfocko
GPG key ID: 7C47D46246790496
10 changed files with 1 additions and 10 deletions

View file

@ -232,4 +232,3 @@ WhitespaceSensitiveMacros:
- PP_STRINGIZE - PP_STRINGIZE
- STRINGIZE - STRINGIZE
... ...

View file

@ -2,7 +2,7 @@ class Solution {
public int buyChoco(int[] prices, int money) { public int buyChoco(int[] prices, int money) {
int[] mins = new int[2]; int[] mins = new int[2];
mins[0] = mins[1] = Integer.MAX_VALUE; mins[0] = mins[1] = Integer.MAX_VALUE;
for (int p : prices) { for (int p : prices) {
if (p < mins[0]) { if (p < mins[0]) {
mins[1] = mins[0]; mins[1] = mins[0];

View file

@ -48,4 +48,3 @@ class Solution {
return numDecodings(s, dp, 0); return numDecodings(s, dp, 0);
} }
} }

View file

@ -24,4 +24,3 @@ class Solution {
return m; return m;
} }
} }

View file

@ -18,4 +18,3 @@ class Solution {
return Math.min(startingZero, startingOne); return Math.min(startingZero, startingOne);
} }
} }

View file

@ -19,4 +19,3 @@ class Solution {
return dp[colors.length()]; return dp[colors.length()];
} }
} }

View file

@ -25,4 +25,3 @@ class Solution {
return (int) dp[n][target]; return (int) dp[n][target];
} }
} }

View file

@ -18,4 +18,3 @@ class Solution {
return true; return true;
} }
} }

View file

@ -13,4 +13,3 @@ impl Solution {
ways[2] ways[2]
} }
} }

View file

@ -24,4 +24,3 @@ impl Solution {
false false
} }
} }