Commit d56e7c9
Gonzalo Diaz
[BUGFIX] sonarqube: Prefer
Ternary expressions should be replaced with "Math.min()" or "Math.max()" for simple comparisons typescript:S7766Math.max() to simplify ternary expressions.1 parent c092b27 commit d56e7c9
File tree
1 file changed
+9
-5
lines changed- src/hackerrank/interview_preparation_kit/dynamic_programming
1 file changed
+9
-5
lines changedLines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
0 commit comments