Skip to content

Instantly share code, notes, and snippets.

leondeklerk

Block or report user

Report or block leondeklerk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Solution.java
class Solution {
/**
* Calculates the hamming code of the given bit sequence.
*
* @param bitSequence The input bit sequence
* @param inputLength The length of the input bit sequence (including possible leading zeros)
* @param isEvenParity Boolean indicating if the hamming algorithm should use even parity or not
* @return The Hamming code sequence
*/
@leondeklerk
leondeklerk / checkstyle.xml
Created Apr 26, 2019
A simple fix for the checkstyle issues in the JPacman project
View checkstyle.xml
<!-- Add this module to your checkstyle file (by default called checkstyle.xml) in your project root folder-->
<module name="SuppressionFilter">
<property name="file" value="suppression.xml" />
</module>
You can’t perform that action at this time.