MCPcopy Create free account
hub / github.com/algorithmzuo/algorithm-journey / lr

Method lr

src/class201/Code07_Network1.java:54–56  ·  view source on GitHub ↗
(int x)

Source from the content-addressed store, hash-verified

52 }
53
54 public static int lr(int x) {
55 return ls[fa[x]] == x ? 0 : 1;
56 }
57
58 public static void reverse(int x) {
59 if (x != 0) {

Callers 2

rotateMethod · 0.95
splayMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected