Skip to content

Apply fixes from CodeFactor #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public void testRotLeftOne()
}
}


[TestMethod]
public void testRotLeft()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Notes about final solution please see:
// @link [[docs/hackerrank/projecteuler/euler003-solution-notes.md]]


namespace algorithm_exercises_csharp.hackerrank.projecteuler;

[TestClass]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public void testPlusMinus()
string result = PlusMinus.plusMinus(a);

Assert.AreEqual(expectedAnswer, result);

}
}

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public void testSolveMeFirst()
int result = SolveMeFirst.solveMeFirst(a, b);

Assert.AreEqual(expectedAnswer, result);

}
}

Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public static List<int> rotLeftOne(List<int> input)
return input;
}


/**
* This implementation does not mutate the input list.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,4 @@ public static int birthdayCakeCandles(List<int> _arr)

return counter;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ public static string miniMaxSum(List<int> arr)

return string.Format("{0} {1}", tsum - tmax, tsum - tmin);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public static string plusMinus(List<int> arr)
}
}


List<string> result = [];
var nfi = new NumberFormatInfo() { NumberDecimalSeparator = "." };

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ public static int solveMeFirst(int _a, int _b)
{
return _a + _b;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ public static string staircase(int _n)
}
return String.Join("\n", result);
}

}