style: use proper spelling (#5436)

checkstyle: fix typos, style

Co-authored-by: alxkm <alx@alx.com>
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
This commit is contained in:
Alex Klymenko
2024-08-30 08:50:14 +02:00
committed by GitHub
parent d189c3a719
commit 87cf89192b
7 changed files with 18 additions and 19 deletions

View File

@@ -14,8 +14,8 @@ import java.util.Arrays;
*
* Output : YES
*/
public final class BipartiteGrapfDFS {
private BipartiteGrapfDFS() {
public final class BipartiteGraphDFS {
private BipartiteGraphDFS() {
}
private static boolean bipartite(int v, ArrayList<ArrayList<Integer>> adj, int[] color, int node) {