mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-25 05:22:39 +08:00
style: enable HideUtilityClassConstructor
in checkstyle (#5147)
This commit is contained in:
@ -7,7 +7,9 @@ import java.util.Scanner;
|
||||
* see https://www.geeksforgeeks.org/matrix-exponentiation/
|
||||
*
|
||||
*/
|
||||
public class Fibonacci {
|
||||
public final class Fibonacci {
|
||||
private Fibonacci() {
|
||||
}
|
||||
|
||||
// Exponentiation matrix for Fibonacci sequence
|
||||
private static final int[][] FIB_MATRIX = {{1, 1}, {1, 0}};
|
||||
|
Reference in New Issue
Block a user