Skip to content

Commit 928e7cc

Browse files
committed
Multiple Variable Declarations
1 parent 15cd63c commit 928e7cc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/java/com/thealgorithms/tree/HeavyLightDecomposition.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@
1515

1616
public class HeavyLightDecomposition {
1717
private List<Integer>[] tree;
18-
private int[] parent, depth, subtreeSize, chainHead, position, nodeValue;
18+
private int[] parent;
19+
private int[] depth;
20+
private int[] subtreeSize;
21+
private int[] chainHead;
22+
private int[] position;
23+
private int[] nodeValue;
1924
private int[] segmentTree;
2025
private int positionIndex;
2126

0 commit comments

Comments
 (0)