mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
style: enable HideUtilityClassConstructor in checkstyle (#5147)
This commit is contained in:
@@ -4,7 +4,9 @@ package com.thealgorithms.strings;
|
||||
is the number of positions at which the corresponding symbols are different.
|
||||
https://en.wikipedia.org/wiki/Hamming_distance
|
||||
*/
|
||||
public class HammingDistance {
|
||||
public final class HammingDistance {
|
||||
private HammingDistance() {
|
||||
}
|
||||
|
||||
/**
|
||||
* calculate the hamming distance between two strings of equal length
|
||||
|
||||
Reference in New Issue
Block a user