id
int64
0
9k
prompt
stringlengths
265
3.32k
answer
stringclasses
14 values
pythoncode
stringlengths
267
3.32k
num_nodes
int64
3
10
num_edges
int64
3
53
avg_node_edge
float64
1
5.3
graph_density
float64
0.11
1
num_classes
int64
2
10
avg_node_class
float64
1
5
max_num_field
int64
1
10
min_num_field
int64
1
5
avg_num_field
float64
1
7.6
path_length
int64
3
10
max_node_visits
int64
1
6
max_edge_visits
int64
1
5
unique_node_number
int64
2
10
path_node_coverage
float64
0.2
1
unique_edge_number
int64
2
10
path_edge_coverage
float64
0.04
1
num_cycle
int64
0
9
shortest_cycle
int64
2
8
longest_cycle
int64
2
10
average_cycle
float64
2
8
unique_edge_label
int64
1
9
max_label_occurrences
int64
1
10
max_label_consecutive
int64
1
10
max_node_outdegree
int64
1
4
200
class A: def __init__(self, txt: str): self.z: A = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt n = A("n") i = B("i") c = B("c") e = B("e") a = A("a") f = B("f") l = A("l") b = A("b") n.z = b n.t = a i.p = n c.p = n e.p = b a.z = n a.t = n f.p = l l.z = a l.t = b b.z = n b.t = a assert f.p.t.z.t.txt == "
a"
class A: def __init__(self, txt: str): self.z: A = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt n = A("n") i = B("i") c = B("c") e = B("e") a = A("a") f = B("f") l = A("l") b = A("b") n.z = b n.t = a i.p = n c.p = n e.p = b a.z = n a.t = n f.p = l l.z = a l.t = b b.z = n b.t = a assert f.p.t.z.t.txt == "a"
8
11
1.375
0.196429
2
4
2
1
1.5
4
1
1
5
0.625
4
0.363636
0
null
null
null
3
2
1
1
201
class A: def __init__(self, txt: str): self.r: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt i = A("i") a = B("a") m = A("m") d = B("d") e = B("e") n = A("n") i.r = m i.z = n a.r = e m.r = n m.z = n d.r = a e.r = d n.r = i n.z = i assert e.r.r.r.r.txt == "
d"
class A: def __init__(self, txt: str): self.r: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt i = A("i") a = B("a") m = A("m") d = B("d") e = B("e") n = A("n") i.r = m i.z = n a.r = e m.r = n m.z = n d.r = a e.r = d n.r = i n.z = i assert e.r.r.r.r.txt == "d"
6
7
1.166667
0.233333
2
3
2
1
1.5
4
2
2
3
0.5
3
0.428571
2
3
3
3
1
4
4
1
202
class A: def __init__(self, txt: str): self.v: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.s: B = None self.txt = txt f = A("f") k = B("k") l = B("l") d = A("d") i = B("i") f.v = l f.t = l k.r = d k.s = l l.r = f l.s = k d.v = k d.t = l i.r = f i.s = k assert d.v.r.v.r.txt == "
d"
class A: def __init__(self, txt: str): self.v: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.s: B = None self.txt = txt f = A("f") k = B("k") l = B("l") d = A("d") i = B("i") f.v = l f.t = l k.r = d k.s = l l.r = f l.s = k d.v = k d.t = l i.r = f i.s = k assert d.v.r.v.r.txt == "d"
5
9
1.8
0.45
2
2.5
2
2
2
4
3
2
2
0.4
2
0.222222
3
2
4
2.5
2
2
1
1
203
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt i = A("i") h = B("h") a = B("a") b = A("b") f = A("f") n = A("n") l = A("l") e = A("e") d = A("d") i.p = b h.r = a a.r = h b.p = d f.p = n n.p = l l.p = d e.p = n d.p = b assert f.p.p.p.p.p.p.txt == "
b"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt i = A("i") h = B("h") a = B("a") b = A("b") f = A("f") n = A("n") l = A("l") e = A("e") d = A("d") i.p = b h.r = a a.r = h b.p = d f.p = n n.p = l l.p = d e.p = n d.p = b assert f.p.p.p.p.p.p.txt == "b"
9
9
1
0.125
2
4.5
1
1
1
6
2
2
5
0.555556
5
0.555556
2
2
2
2
1
6
6
1
204
class A: def __init__(self, txt: str): self.w: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.y: B = None self.txt = txt e = A("e") k = B("k") b = B("b") i = B("i") c = A("c") e.w = c e.q = c k.o = e k.y = i b.o = e b.y = k i.o = c i.y = k c.w = e c.q = e assert b.o.w.q.w.q.txt == "
e"
class A: def __init__(self, txt: str): self.w: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.y: B = None self.txt = txt e = A("e") k = B("k") b = B("b") i = B("i") c = A("c") e.w = c e.q = c k.o = e k.y = i b.o = e b.y = k i.o = c i.y = k c.w = e c.q = e assert b.o.w.q.w.q.txt == "e"
5
8
1.6
0.4
2
2.5
2
2
2
5
3
2
3
0.6
3
0.375
3
2
4
2.5
3
2
1
1
205
class A: def __init__(self, txt: str): self.t: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt f = A("f") g = B("g") h = B("h") d = A("d") e = A("e") l = A("l") f.t = e f.p = e g.r = f h.r = d d.t = f d.p = e e.t = d e.p = d l.t = d l.p = e assert l.t.t.t.p.p.p.txt == "
d"
class A: def __init__(self, txt: str): self.t: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt f = A("f") g = B("g") h = B("h") d = A("d") e = A("e") l = A("l") f.t = e f.p = e g.r = f h.r = d d.t = f d.p = e e.t = d e.p = d l.t = d l.p = e assert l.t.t.t.p.p.p.txt == "d"
6
8
1.333333
0.266667
2
3
2
1
1.5
6
3
2
4
0.666667
5
0.625
3
2
5
3
2
3
3
2
206
class A: def __init__(self, txt: str): self.o: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt d = A("d") g = B("g") h = A("h") n = B("n") k = B("k") l = A("l") d.o = n d.x = n g.y = l h.o = g h.x = g n.y = h k.y = l l.o = n l.x = g assert k.y.x.y.x.txt == "
g"
class A: def __init__(self, txt: str): self.o: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt d = A("d") g = B("g") h = A("h") n = B("n") k = B("k") l = A("l") d.o = n d.x = n g.y = l h.o = g h.x = g n.y = h k.y = l l.o = n l.x = g assert k.y.x.y.x.txt == "g"
6
7
1.166667
0.233333
2
3
2
1
1.5
4
2
2
3
0.5
3
0.428571
2
2
2
2
2
2
1
1
207
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt e = A("e") l = B("l") n = B("n") a = A("a") g = A("g") h = A("h") f = A("f") d = B("d") m = A("m") e.v = l l.p = e n.p = f a.v = d g.v = l h.v = d f.v = n d.p = g m.v = n assert n.p.v.p.v.p.v.txt == "
n"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt e = A("e") l = B("l") n = B("n") a = A("a") g = A("g") h = A("h") f = A("f") d = B("d") m = A("m") e.v = l l.p = e n.p = f a.v = d g.v = l h.v = d f.v = n d.p = g m.v = n assert n.p.v.p.v.p.v.txt == "n"
9
9
1
0.125
2
4.5
1
1
1
6
4
3
2
0.222222
2
0.222222
5
2
6
3.111111
2
3
1
1
208
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt n = A("n") m = B("m") b = A("b") f = A("f") n.p = b m.t = n b.p = n f.p = n assert b.p.p.p.p.txt == "
b"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt n = A("n") m = B("m") b = A("b") f = A("f") n.p = b m.t = n b.p = n f.p = n assert b.p.p.p.p.txt == "b"
4
4
1
0.333333
2
2
1
1
1
4
3
2
2
0.5
2
0.5
3
2
4
2.5
1
4
4
1
209
class A: def __init__(self, txt: str): self.v: B = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.v: A = None self.txt = txt h = A("h") i = B("i") e = B("e") l = A("l") m = A("m") h.v = i h.r = i i.s = e i.v = l e.s = i e.v = h l.v = i l.r = e m.v = e m.r = e assert h.r.s.s.s.v.txt == "
h"
class A: def __init__(self, txt: str): self.v: B = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.v: A = None self.txt = txt h = A("h") i = B("i") e = B("e") l = A("l") m = A("m") h.v = i h.r = i i.s = e i.v = l e.s = i e.v = h l.v = i l.r = e m.v = e m.r = e assert h.r.s.s.s.v.txt == "h"
5
8
1.6
0.4
2
2.5
2
2
2
5
2
2
3
0.6
4
0.5
3
2
5
3
3
3
3
2
210
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt f = A("f") c = B("c") k = A("k") f.w = k c.x = f k.w = f assert k.w.w.w.txt == "
f"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt f = A("f") c = B("c") k = A("k") f.w = k c.x = f k.w = f assert k.w.w.w.txt == "f"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
211
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.u: A = None self.txt = txt k = A("k") m = B("m") b = A("b") i = B("i") a = B("a") l = A("l") j = A("j") d = A("d") n = A("n") k.r = m m.x = i m.u = n b.r = a i.x = m i.u = n a.x = m a.u = k l.r = i j.r = i d.r = i n.r = m assert m.u.r.x.u.r.x.u.txt == "
n"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.u: A = None self.txt = txt k = A("k") m = B("m") b = A("b") i = B("i") a = B("a") l = A("l") j = A("j") d = A("d") n = A("n") k.r = m m.x = i m.u = n b.r = a i.x = m i.u = n a.x = m a.u = k l.r = i j.r = i d.r = i n.r = m assert m.u.r.x.u.r.x.u.txt == "n"
9
12
1.333333
0.166667
2
4.5
2
1
1.5
7
3
2
3
0.333333
4
0.333333
5
2
6
3.571429
3
3
1
2
212
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt f = A("f") m = B("m") e = B("e") g = B("g") f.w = e m.q = e e.q = m g.q = m assert f.w.q.q.q.txt == "
m"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt f = A("f") m = B("m") e = B("e") g = B("g") f.w = e m.q = e e.q = m g.q = m assert f.w.q.q.q.txt == "m"
4
4
1
0.333333
2
2
1
1
1
4
2
2
3
0.75
3
0.75
2
2
2
2
2
3
3
1
213
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.p: A = None self.txt = txt a = A("a") h = B("h") i = A("i") g = B("g") l = B("l") f = A("f") b = B("b") c = A("c") n = B("n") a.v = g h.t = g h.p = a i.v = n g.t = n g.p = f l.t = n l.p = c f.v = h b.t = n b.p = f c.v = b n.t = h n.p = f assert b.t.p.v.txt == "
h"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.p: A = None self.txt = txt a = A("a") h = B("h") i = A("i") g = B("g") l = B("l") f = A("f") b = B("b") c = A("c") n = B("n") a.v = g h.t = g h.p = a i.v = n g.t = n g.p = f l.t = n l.p = c f.v = h b.t = n b.p = f c.v = b n.t = h n.p = f assert b.t.p.v.txt == "h"
9
14
1.555556
0.194444
2
4.5
2
1
1.5
3
1
1
4
0.444444
3
0.214286
0
null
null
null
3
1
1
1
214
class A: def __init__(self, txt: str): self.x: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.y: A = None self.txt = txt d = A("d") n = B("n") l = B("l") j = B("j") e = A("e") d.x = j d.o = e n.v = e n.y = e l.v = d l.y = e j.v = d j.y = d e.x = l e.o = d assert n.y.o.x.v.txt == "
d"
class A: def __init__(self, txt: str): self.x: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.y: A = None self.txt = txt d = A("d") n = B("n") l = B("l") j = B("j") e = A("e") d.x = j d.o = e n.v = e n.y = e l.v = d l.y = e j.v = d j.y = d e.x = l e.o = d assert n.y.o.x.v.txt == "d"
5
8
1.6
0.4
2
2.5
2
2
2
4
2
1
4
0.8
4
0.5
1
2
2
2
4
1
1
1
215
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt i = A("i") h = B("h") n = A("n") j = B("j") c = A("c") i.o = c h.q = n n.o = c j.q = n c.o = n assert c.o.o.o.txt == "
n"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt i = A("i") h = B("h") n = A("n") j = B("j") c = A("c") i.o = c h.q = n n.o = c j.q = n c.o = n assert c.o.o.o.txt == "n"
5
5
1
0.25
2
2.5
1
1
1
3
2
2
2
0.4
2
0.4
2
2
2
2
1
3
3
1
216
class A: def __init__(self, txt: str): self.u: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt e = A("e") j = B("j") f = B("f") i = B("i") n = A("n") h = A("h") e.u = n e.s = n j.r = f f.r = j i.r = j n.u = e n.s = h h.u = e h.s = n assert i.r.r.r.r.txt == "
f"
class A: def __init__(self, txt: str): self.u: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt e = A("e") j = B("j") f = B("f") i = B("i") n = A("n") h = A("h") e.u = n e.s = n j.r = f f.r = j i.r = j n.u = e n.s = h h.u = e h.s = n assert i.r.r.r.r.txt == "f"
6
8
1.333333
0.266667
2
3
2
1
1.5
4
2
2
3
0.5
3
0.375
2
2
2
2
1
4
4
1
217
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt d = A("d") f = B("f") i = B("i") g = B("g") j = A("j") d.p = g f.p = i i.p = f g.p = i j.p = f assert f.p.p.p.p.p.txt == "
i"
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt d = A("d") f = B("f") i = B("i") g = B("g") j = A("j") d.p = g f.p = i i.p = f g.p = i j.p = f assert f.p.p.p.p.p.txt == "i"
5
5
1
0.25
2
2.5
1
1
1
5
3
3
2
0.4
2
0.4
4
2
4
2.666667
1
5
5
1
218
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.w: A = None self.txt = txt j = A("j") i = B("i") l = B("l") j.q = l i.v = j i.w = j l.v = j l.w = j assert l.v.q.v.txt == "
j"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.w: A = None self.txt = txt j = A("j") i = B("i") l = B("l") j.q = l i.v = j i.w = j l.v = j l.w = j assert l.v.q.v.txt == "j"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.666667
2
2
2
2
2
2
1
1
219
class A: def __init__(self, txt: str): self.p: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt m = A("m") e = B("e") l = B("l") f = A("f") i = B("i") b = A("b") n = B("n") m.p = n m.r = b e.w = n l.w = i f.p = n f.r = b i.w = l b.p = n b.r = m n.w = l assert b.r.p.w.w.w.w.txt == "
i"
class A: def __init__(self, txt: str): self.p: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt m = A("m") e = B("e") l = B("l") f = A("f") i = B("i") b = A("b") n = B("n") m.p = n m.r = b e.w = n l.w = i f.p = n f.r = b i.w = l b.p = n b.r = m n.w = l assert b.r.p.w.w.w.w.txt == "i"
7
10
1.428571
0.238095
2
3.5
2
1
1.5
6
2
2
5
0.714286
5
0.5
2
2
2
2
3
4
4
1
220
class A: def __init__(self, txt: str): self.v: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.u: B = None self.txt = txt e = A("e") i = B("i") b = A("b") g = B("g") a = A("a") m = A("m") j = B("j") k = B("k") c = A("c") e.v = c e.z = i i.q = g i.u = k b.v = a b.z = g g.q = i g.u = k a.v = c a.z = g m.v = e m.z = j j.q = i j.u = g k.q = j k.u = g c.v = m c.z = g assert i.q.q.q.q.u.q.u.txt == "
g"
class A: def __init__(self, txt: str): self.v: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.u: B = None self.txt = txt e = A("e") i = B("i") b = A("b") g = B("g") a = A("a") m = A("m") j = B("j") k = B("k") c = A("c") e.v = c e.z = i i.q = g i.u = k b.v = a b.z = g g.q = i g.u = k a.v = c a.z = g m.v = e m.z = j j.q = i j.u = g k.q = j k.u = g c.v = m c.z = g assert i.q.q.q.q.u.q.u.txt == "g"
9
18
2
0.25
2
4.5
2
2
2
7
3
2
4
0.444444
5
0.277778
4
2
6
3.333333
2
5
4
2
221
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt e = A("e") a = B("a") l = A("l") b = B("b") e.q = b a.r = b l.q = a b.r = a assert b.r.r.r.r.txt == "
b"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt e = A("e") a = B("a") l = A("l") b = B("b") e.q = b a.r = b l.q = a b.r = a assert b.r.r.r.r.txt == "b"
4
4
1
0.333333
2
2
1
1
1
4
3
2
2
0.5
2
0.5
3
2
4
2.5
1
4
4
1
222
class A: def __init__(self, txt: str): self.o: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt h = A("h") g = B("g") c = B("c") a = A("a") f = B("f") k = A("k") b = A("b") j = B("j") e = A("e") h.o = k h.s = k g.z = b c.z = e a.o = h a.s = e f.z = k k.o = h k.s = e b.o = k b.s = h j.z = e e.o = b e.s = b assert g.z.o.s.o.o.s.o.txt == "
b"
class A: def __init__(self, txt: str): self.o: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt h = A("h") g = B("g") c = B("c") a = A("a") f = B("f") k = A("k") b = A("b") j = B("j") e = A("e") h.o = k h.s = k g.z = b c.z = e a.o = h a.s = e f.z = k k.o = h k.s = e b.o = k b.s = h j.z = e e.o = b e.s = b assert g.z.o.s.o.o.s.o.txt == "b"
9
12
1.333333
0.166667
2
4.5
2
1
1.5
7
3
2
4
0.444444
4
0.333333
4
3
6
3.6
3
4
2
1
223
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt f = A("f") d = B("d") m = B("m") g = A("g") n = A("n") h = A("h") c = B("c") a = B("a") e = A("e") j = B("j") f.x = m d.q = n m.q = h g.x = d n.x = d h.x = a c.q = e a.q = f e.x = m j.q = n assert h.x.q.x.txt == "
m"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt f = A("f") d = B("d") m = B("m") g = A("g") n = A("n") h = A("h") c = B("c") a = B("a") e = A("e") j = B("j") f.x = m d.q = n m.q = h g.x = d n.x = d h.x = a c.q = e a.q = f e.x = m j.q = n assert h.x.q.x.txt == "m"
10
10
1
0.111111
2
5
1
1
1
3
1
1
4
0.4
3
0.3
0
null
null
null
2
2
1
1
224
class A: def __init__(self, txt: str): self.s: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.t: A = None self.txt = txt k = A("k") e = B("e") h = A("h") m = B("m") g = A("g") l = A("l") a = A("a") j = B("j") d = A("d") c = A("c") k.s = j k.v = l e.u = l e.t = k h.s = j h.v = l m.u = c m.t = g g.s = j g.v = k l.s = m l.v = d a.s = e a.v = c j.u = l j.t = l d.s = m d.v = h c.s = j c.v = l assert d.s.t.s.u.s.txt == "
m"
class A: def __init__(self, txt: str): self.s: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.t: A = None self.txt = txt k = A("k") e = B("e") h = A("h") m = B("m") g = A("g") l = A("l") a = A("a") j = B("j") d = A("d") c = A("c") k.s = j k.v = l e.u = l e.t = k h.s = j h.v = l m.u = c m.t = g g.s = j g.v = k l.s = m l.v = d a.s = e a.v = c j.u = l j.t = l d.s = m d.v = h c.s = j c.v = l assert d.s.t.s.u.s.txt == "m"
10
19
1.9
0.211111
2
5
2
2
2
5
2
1
5
0.5
5
0.263158
1
4
4
4
3
3
1
1
225
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.w: B = None self.txt = txt g = A("g") m = B("m") h = B("h") g.p = h m.t = h m.w = h h.t = m h.w = m assert h.w.t.w.txt == "
m"
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.w: B = None self.txt = txt g = A("g") m = B("m") h = B("h") g.p = h m.t = h m.w = h h.t = m h.w = m assert h.w.t.w.txt == "m"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.666667
2
2
2
2
2
2
1
1
226
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt d = A("d") f = B("f") m = B("m") c = B("c") e = A("e") l = B("l") n = B("n") d.w = e f.o = e m.o = e c.o = d e.w = d l.o = e n.o = d assert f.o.w.w.w.w.w.txt == "
d"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt d = A("d") f = B("f") m = B("m") c = B("c") e = A("e") l = B("l") n = B("n") d.w = e f.o = e m.o = e c.o = d e.w = d l.o = e n.o = d assert f.o.w.w.w.w.w.txt == "d"
7
7
1
0.166667
2
3.5
1
1
1
6
3
3
3
0.428571
3
0.428571
4
2
4
2.666667
2
5
5
1
227
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.t: A = None self.txt = txt c = A("c") n = B("n") m = B("m") f = B("f") a = A("a") k = B("k") e = B("e") l = B("l") c.r = a n.r = c n.t = a m.r = c m.t = c f.r = a f.t = a a.r = c k.r = a k.t = c e.r = c e.t = c l.r = a l.t = c assert n.r.r.r.r.r.r.r.txt == "
c"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.t: A = None self.txt = txt c = A("c") n = B("n") m = B("m") f = B("f") a = A("a") k = B("k") e = B("e") l = B("l") c.r = a n.r = c n.t = a m.r = c m.t = c f.r = a f.t = a a.r = c k.r = a k.t = c e.r = c e.t = c l.r = a l.t = c assert n.r.r.r.r.r.r.r.txt == "c"
8
11
1.375
0.196429
2
4
2
1
1.5
7
4
3
3
0.375
3
0.272727
5
2
6
3.111111
1
7
7
1
228
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt m = A("m") d = B("d") j = A("j") g = B("g") m.w = j d.y = m j.w = m g.y = j assert m.w.w.w.txt == "
j"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt m = A("m") d = B("d") j = A("j") g = B("g") m.w = j d.y = m j.w = m g.y = j assert m.w.w.w.txt == "j"
4
4
1
0.333333
2
2
1
1
1
3
2
2
2
0.5
2
0.5
2
2
2
2
1
3
3
1
229
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt a = A("a") k = B("k") j = B("j") a.r = j k.o = a j.o = a assert j.o.r.o.txt == "
a"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt a = A("a") k = B("k") j = B("j") a.r = j k.o = a j.o = a assert j.o.r.o.txt == "a"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
2
2
1
1
230
class A: def __init__(self, txt: str): self.p: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.w: A = None self.txt = txt k = A("k") l = B("l") n = B("n") f = A("f") c = B("c") d = B("d") b = A("b") e = A("e") h = B("h") j = A("j") k.p = c k.t = c l.z = d l.w = b n.z = l n.w = k f.p = n f.t = l c.z = n c.w = f d.z = h d.w = k b.p = l b.t = c e.p = l e.t = l h.z = c h.w = k j.p = h j.t = l assert c.w.p.w.p.w.txt == "
f"
class A: def __init__(self, txt: str): self.p: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.w: A = None self.txt = txt k = A("k") l = B("l") n = B("n") f = A("f") c = B("c") d = B("d") b = A("b") e = A("e") h = B("h") j = A("j") k.p = c k.t = c l.z = d l.w = b n.z = l n.w = k f.p = n f.t = l c.z = n c.w = f d.z = h d.w = k b.p = l b.t = c e.p = l e.t = l h.z = c h.w = k j.p = h j.t = l assert c.w.p.w.p.w.txt == "f"
10
18
1.8
0.2
2
5
2
2
2
5
2
2
4
0.4
4
0.222222
2
4
4
4
2
3
1
1
231
class A: def __init__(self, txt: str): self.o: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt i = A("i") b = B("b") f = B("f") g = A("g") a = A("a") l = A("l") k = A("k") j = B("j") d = A("d") i.o = g i.q = g b.u = a f.u = a g.o = i g.q = d a.o = d a.q = k l.o = d l.q = d k.o = d k.q = i j.u = g d.o = g d.q = l assert i.o.q.q.q.o.o.q.q.txt == "
d"
class A: def __init__(self, txt: str): self.o: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt i = A("i") b = B("b") f = B("f") g = A("g") a = A("a") l = A("l") k = A("k") j = B("j") d = A("d") i.o = g i.q = g b.u = a f.u = a g.o = i g.q = d a.o = d a.q = k l.o = d l.q = d k.o = d k.q = i j.u = g d.o = g d.q = l assert i.o.q.q.q.o.o.q.q.txt == "d"
9
13
1.444444
0.180556
2
4.5
2
1
1.5
8
3
2
4
0.444444
7
0.538462
5
2
6
4.285714
2
5
3
2
232
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt h = A("h") a = B("a") i = B("i") h.s = i a.o = h i.o = h assert i.o.s.o.txt == "
h"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt h = A("h") a = B("a") i = B("i") h.s = i a.o = h i.o = h assert i.o.s.o.txt == "h"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
2
2
1
1
233
class A: def __init__(self, txt: str): self.v: A = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.t: A = None self.txt = txt l = A("l") c = B("c") i = A("i") j = B("j") n = A("n") a = B("a") l.v = i l.w = n c.p = n c.t = i i.v = n i.w = n j.p = n j.t = l n.v = l n.w = l a.p = n a.t = l assert l.w.v.v.v.txt == "
n"
class A: def __init__(self, txt: str): self.v: A = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.t: A = None self.txt = txt l = A("l") c = B("c") i = A("i") j = B("j") n = A("n") a = B("a") l.v = i l.w = n c.p = n c.t = i i.v = n i.w = n j.p = n j.t = l n.v = l n.w = l a.p = n a.t = l assert l.w.v.v.v.txt == "n"
6
10
1.666667
0.333333
2
3
2
2
2
4
2
1
3
0.5
4
0.4
2
2
3
2.5
2
3
3
2
234
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.o: B = None self.txt = txt j = A("j") b = B("b") h = B("h") i = B("i") d = A("d") g = A("g") j.q = g b.r = i b.o = i h.r = b h.o = b i.r = h i.o = h d.q = g g.q = d assert j.q.q.q.q.txt == "
d"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.o: B = None self.txt = txt j = A("j") b = B("b") h = B("h") i = B("i") d = A("d") g = A("g") j.q = g b.r = i b.o = i h.r = b h.o = b i.r = h i.o = h d.q = g g.q = d assert j.q.q.q.q.txt == "d"
6
6
1
0.2
2
3
2
1
1.5
4
2
2
3
0.5
3
0.5
2
2
2
2
1
4
4
1
235
class A: def __init__(self, txt: str): self.w: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt m = A("m") l = B("l") k = A("k") i = B("i") m.w = i m.z = i l.z = i k.w = l k.z = i i.z = l assert k.w.z.z.z.txt == "
i"
class A: def __init__(self, txt: str): self.w: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt m = A("m") l = B("l") k = A("k") i = B("i") m.w = i m.z = i l.z = i k.w = l k.z = i i.z = l assert k.w.z.z.z.txt == "i"
4
5
1.25
0.416667
2
2
2
1
1.5
4
2
2
3
0.75
3
0.6
2
2
2
2
2
3
3
1
236
class A: def __init__(self, txt: str): self.y: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt k = A("k") e = B("e") i = B("i") h = A("h") d = A("d") k.y = i k.v = i e.w = i i.w = e h.y = i h.v = e d.y = e d.v = e assert d.v.w.w.w.w.txt == "
e"
class A: def __init__(self, txt: str): self.y: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt k = A("k") e = B("e") i = B("i") h = A("h") d = A("d") k.y = i k.v = i e.w = i i.w = e h.y = i h.v = e d.y = e d.v = e assert d.v.w.w.w.w.txt == "e"
5
6
1.2
0.3
2
2.5
2
1
1.5
5
3
2
3
0.6
3
0.5
3
2
4
2.5
2
4
4
1
237
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt i = A("i") c = B("c") n = B("n") e = A("e") k = A("k") a = A("a") i.o = n c.v = n n.v = c e.o = c k.o = c a.o = c assert c.v.v.v.txt == "
n"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt i = A("i") c = B("c") n = B("n") e = A("e") k = A("k") a = A("a") i.o = n c.v = n n.v = c e.o = c k.o = c a.o = c assert c.v.v.v.txt == "n"
6
6
1
0.2
2
3
1
1
1
3
2
2
2
0.333333
2
0.333333
2
2
2
2
1
3
3
1
238
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt e = A("e") i = B("i") n = B("n") e.r = i i.w = n n.w = i assert i.w.w.w.txt == "
n"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt e = A("e") i = B("i") n = B("n") e.r = i i.w = n n.w = i assert i.w.w.w.txt == "n"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
239
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt j = A("j") d = B("d") g = A("g") k = B("k") m = B("m") c = B("c") n = A("n") j.u = c d.x = n g.u = k k.x = g m.x = g c.x = j n.u = d assert g.u.x.u.x.u.x.u.txt == "
k"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt j = A("j") d = B("d") g = A("g") k = B("k") m = B("m") c = B("c") n = A("n") j.u = c d.x = n g.u = k k.x = g m.x = g c.x = j n.u = d assert g.u.x.u.x.u.x.u.txt == "k"
7
7
1
0.166667
2
3.5
1
1
1
7
4
4
2
0.285714
2
0.285714
6
2
6
3.333333
2
4
1
1
240
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.q: A = None self.txt = txt b = A("b") j = B("j") d = A("d") c = B("c") a = A("a") f = B("f") k = A("k") e = B("e") m = B("m") b.x = m j.v = m j.q = a d.x = j c.v = e c.q = k a.x = m f.v = c f.q = k k.x = c e.v = f e.q = a m.v = j m.q = b assert a.x.q.x.v.v.v.q.x.q.txt == "
b"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.q: A = None self.txt = txt b = A("b") j = B("j") d = A("d") c = B("c") a = A("a") f = B("f") k = A("k") e = B("e") m = B("m") b.x = m j.v = m j.q = a d.x = j c.v = e c.q = k a.x = m f.v = c f.q = k k.x = c e.v = f e.q = a m.v = j m.q = b assert a.x.q.x.v.v.v.q.x.q.txt == "b"
9
14
1.555556
0.194444
2
4.5
2
1
1.5
9
4
2
4
0.444444
6
0.428571
6
2
7
4.333333
3
3
3
2
241
class A: def __init__(self, txt: str): self.p: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt d = A("d") i = B("i") b = A("b") e = A("e") l = B("l") f = A("f") k = B("k") d.p = k d.r = e i.s = l b.p = i b.r = f e.p = l e.r = b l.s = i f.p = i f.r = e k.s = l assert e.r.p.s.s.txt == "
i"
class A: def __init__(self, txt: str): self.p: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt d = A("d") i = B("i") b = A("b") e = A("e") l = B("l") f = A("f") k = B("k") d.p = k d.r = e i.s = l b.p = i b.r = f e.p = l e.r = b l.s = i f.p = i f.r = e k.s = l assert e.r.p.s.s.txt == "i"
7
11
1.571429
0.261905
2
3.5
2
1
1.5
4
2
1
4
0.571429
4
0.363636
1
2
2
2
3
2
2
1
242
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt m = A("m") a = B("a") c = A("c") b = B("b") k = B("k") i = A("i") d = A("d") h = A("h") m.y = k a.w = h c.y = k b.w = c k.w = c i.y = a d.y = k h.y = b assert b.w.y.w.y.w.y.w.txt == "
c"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt m = A("m") a = B("a") c = A("c") b = B("b") k = B("k") i = A("i") d = A("d") h = A("h") m.y = k a.w = h c.y = k b.w = c k.w = c i.y = a d.y = k h.y = b assert b.w.y.w.y.w.y.w.txt == "c"
8
8
1
0.142857
2
4
1
1
1
7
4
3
3
0.375
3
0.375
5
2
6
3.111111
2
4
1
1
243
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt c = A("c") i = B("i") d = A("d") f = A("f") c.y = i i.o = c d.y = i f.y = i assert i.o.y.o.y.txt == "
i"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt c = A("c") i = B("i") d = A("d") f = A("f") c.y = i i.o = c d.y = i f.y = i assert i.o.y.o.y.txt == "i"
4
4
1
0.333333
2
2
1
1
1
4
3
2
2
0.5
2
0.5
3
2
4
2.5
2
2
1
1
244
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt k = A("k") l = B("l") c = A("c") d = A("d") j = B("j") h = B("h") b = A("b") k.p = l l.w = b c.p = l d.p = j j.w = d h.w = d b.p = h assert h.w.p.w.p.w.p.w.txt == "
d"
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt k = A("k") l = B("l") c = A("c") d = A("d") j = B("j") h = B("h") b = A("b") k.p = l l.w = b c.p = l d.p = j j.w = d h.w = d b.p = h assert h.w.p.w.p.w.p.w.txt == "d"
7
7
1
0.166667
2
3.5
1
1
1
7
4
3
3
0.428571
3
0.428571
5
2
6
3.111111
2
4
1
1
245
class A: def __init__(self, txt: str): self.y: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt b = A("b") k = B("k") a = A("a") b.y = k b.w = a k.r = a a.y = k a.w = b assert b.w.w.y.txt == "
k"
class A: def __init__(self, txt: str): self.y: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt b = A("b") k = B("k") a = A("a") b.y = k b.w = a k.r = a a.y = k a.w = b assert b.w.w.y.txt == "k"
3
5
1.666667
0.833333
2
1.5
2
1
1.5
3
2
1
3
1
3
0.6
1
2
2
2
2
2
2
2
246
class A: def __init__(self, txt: str): self.t: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.p: A = None self.txt = txt d = A("d") i = B("i") l = A("l") g = A("g") c = B("c") j = A("j") k = A("k") m = B("m") f = B("f") d.t = c d.w = g i.x = j i.p = k l.t = c l.w = k g.t = m g.w = j c.x = d c.p = g j.t = c j.w = d k.t = i k.w = g m.x = g m.p = l f.x = g f.p = j assert l.w.w.w.t.txt == "
c"
class A: def __init__(self, txt: str): self.t: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.p: A = None self.txt = txt d = A("d") i = B("i") l = A("l") g = A("g") c = B("c") j = A("j") k = A("k") m = B("m") f = B("f") d.t = c d.w = g i.x = j i.p = k l.t = c l.w = k g.t = m g.w = j c.x = d c.p = g j.t = c j.w = d k.t = i k.w = g m.x = g m.p = l f.x = g f.p = j assert l.w.w.w.t.txt == "c"
9
18
2
0.25
2
4.5
2
2
2
4
1
1
5
0.555556
4
0.222222
0
null
null
null
2
3
3
1
247
class A: def __init__(self, txt: str): self.y: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.y: B = None self.txt = txt b = A("b") h = B("h") f = A("f") d = A("d") c = A("c") l = B("l") g = B("g") j = B("j") b.y = l b.z = g h.p = f h.y = g f.y = g f.z = l d.y = j d.z = j c.y = j c.z = h l.p = d l.y = g g.p = c g.y = j j.p = f j.y = h assert c.z.y.y.txt == "
j"
class A: def __init__(self, txt: str): self.y: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.y: B = None self.txt = txt b = A("b") h = B("h") f = A("f") d = A("d") c = A("c") l = B("l") g = B("g") j = B("j") b.y = l b.z = g h.p = f h.y = g f.y = g f.z = l d.y = j d.z = j c.y = j c.z = h l.p = d l.y = g g.p = c g.y = j j.p = f j.y = h assert c.z.y.y.txt == "j"
8
15
1.875
0.267857
2
4
2
2
2
3
1
1
4
0.5
3
0.2
0
null
null
null
2
2
2
1
248
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt c = A("c") e = B("e") g = A("g") j = A("j") h = B("h") a = B("a") c.x = e e.q = j g.x = e j.x = e h.q = c a.q = c assert e.q.x.q.x.txt == "
e"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt c = A("c") e = B("e") g = A("g") j = A("j") h = B("h") a = B("a") c.x = e e.q = j g.x = e j.x = e h.q = c a.q = c assert e.q.x.q.x.txt == "e"
6
6
1
0.2
2
3
1
1
1
4
3
2
2
0.333333
2
0.333333
3
2
4
2.5
2
2
1
1
249
class A: def __init__(self, txt: str): self.o: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt j = A("j") e = B("e") f = A("f") a = B("a") n = A("n") c = B("c") b = B("b") i = A("i") m = A("m") j.o = i j.y = i e.o = n f.o = n f.y = j a.o = j n.o = j n.y = m c.o = i b.o = j i.o = n i.y = f m.o = n m.y = n assert i.o.o.o.o.o.o.y.txt == "
f"
class A: def __init__(self, txt: str): self.o: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt j = A("j") e = B("e") f = A("f") a = B("a") n = A("n") c = B("c") b = B("b") i = A("i") m = A("m") j.o = i j.y = i e.o = n f.o = n f.y = j a.o = j n.o = j n.y = m c.o = i b.o = j i.o = n i.y = f m.o = n m.y = n assert i.o.o.o.o.o.o.y.txt == "f"
9
12
1.333333
0.166667
2
4.5
2
1
1.5
7
3
2
4
0.444444
4
0.333333
4
3
6
3.6
2
6
6
2
250
class A: def __init__(self, txt: str): self.y: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.p: A = None self.txt = txt e = A("e") c = B("c") i = A("i") e.y = i e.o = i c.o = i c.p = i i.y = e i.o = e assert e.y.o.y.txt == "
i"
class A: def __init__(self, txt: str): self.y: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.p: A = None self.txt = txt e = A("e") c = B("c") i = A("i") e.y = i e.o = i c.o = i c.p = i i.y = e i.o = e assert e.y.o.y.txt == "i"
3
3
1
0.5
2
1.5
2
2
2
3
2
2
2
0.666667
2
0.666667
2
2
2
2
2
2
1
1
251
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt e = A("e") k = B("k") g = A("g") i = B("i") a = A("a") c = B("c") f = A("f") j = A("j") e.r = c k.s = g g.r = k i.s = a a.r = k c.s = f f.r = i j.r = k assert c.s.r.s.r.txt == "
k"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt e = A("e") k = B("k") g = A("g") i = B("i") a = A("a") c = B("c") f = A("f") j = A("j") e.r = c k.s = g g.r = k i.s = a a.r = k c.s = f f.r = i j.r = k assert c.s.r.s.r.txt == "k"
8
8
1
0.142857
2
4
1
1
1
4
1
1
5
0.625
4
0.5
0
null
null
null
2
2
1
1
252
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.w: B = None self.txt = txt h = A("h") d = B("d") m = A("m") e = B("e") i = A("i") j = A("j") f = B("f") h.t = d d.v = j d.w = f m.t = f e.v = j e.w = d i.t = f j.t = d f.v = j f.w = d assert m.t.w.w.w.v.t.w.txt == "
f"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.w: B = None self.txt = txt h = A("h") d = B("d") m = A("m") e = B("e") i = A("i") j = A("j") f = B("f") h.t = d d.v = j d.w = f m.t = f e.v = j e.w = d i.t = f j.t = d f.v = j f.w = d assert m.t.w.w.w.v.t.w.txt == "f"
7
10
1.428571
0.238095
2
3.5
2
1
1.5
7
3
2
4
0.571429
5
0.5
4
2
6
3.333333
3
4
3
2
253
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt n = A("n") k = B("k") f = A("f") d = B("d") j = B("j") n.r = j k.y = j f.r = j d.y = k j.y = d assert j.y.y.y.txt == "
j"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt n = A("n") k = B("k") f = A("f") d = B("d") j = B("j") n.r = j k.y = j f.r = j d.y = k j.y = d assert j.y.y.y.txt == "j"
5
5
1
0.25
2
2.5
1
1
1
3
2
1
3
0.6
3
0.6
1
3
3
3
1
3
3
1
254
class A: def __init__(self, txt: str): self.w: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt h = A("h") m = B("m") a = B("a") e = A("e") h.w = a h.z = m m.u = h a.u = e e.w = m e.z = a assert m.u.z.u.w.txt == "
a"
class A: def __init__(self, txt: str): self.w: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt h = A("h") m = B("m") a = B("a") e = A("e") h.w = a h.z = m m.u = h a.u = e e.w = m e.z = a assert m.u.z.u.w.txt == "a"
4
6
1.5
0.5
2
2
2
1
1.5
4
2
2
3
0.75
3
0.5
2
2
2
2
3
2
1
2
255
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt j = A("j") c = B("c") f = A("f") m = B("m") b = A("b") j.q = m c.r = j f.q = m m.r = f b.q = c assert j.q.r.q.txt == "
m"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt j = A("j") c = B("c") f = A("f") m = B("m") b = A("b") j.q = m c.r = j f.q = m m.r = f b.q = c assert j.q.r.q.txt == "m"
5
5
1
0.25
2
2.5
1
1
1
3
2
1
3
0.6
3
0.6
1
2
2
2
2
2
1
1
256
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.z: A = None self.txt = txt l = A("l") b = B("b") m = A("m") j = B("j") k = A("k") e = B("e") n = B("n") a = A("a") l.z = n b.r = k b.z = k m.z = e j.r = k j.z = m k.z = e e.r = m e.z = m n.r = a n.z = k a.z = b assert n.r.z.z.z.r.txt == "
m"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.z: A = None self.txt = txt l = A("l") b = B("b") m = A("m") j = B("j") k = A("k") e = B("e") n = B("n") a = A("a") l.z = n b.r = k b.z = k m.z = e j.r = k j.z = m k.z = e e.r = m e.z = m n.r = a n.z = k a.z = b assert n.r.z.z.z.r.txt == "m"
8
10
1.25
0.178571
2
4
2
1
1.5
5
1
1
6
0.75
5
0.5
0
null
null
null
2
3
3
1
257
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.w: B = None self.txt = txt m = A("m") l = B("l") j = B("j") i = A("i") m.r = j l.z = j l.w = j j.z = l j.w = l i.r = j assert l.z.z.w.z.txt == "
l"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.w: B = None self.txt = txt m = A("m") l = B("l") j = B("j") i = A("i") m.r = j l.z = j l.w = j j.z = l j.w = l i.r = j assert l.z.z.w.z.txt == "l"
4
4
1
0.333333
2
2
2
1
1.5
4
3
2
2
0.5
3
0.75
3
2
4
2.5
2
3
2
2
258
class A: def __init__(self, txt: str): self.u: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.p: B = None self.txt = txt h = A("h") c = B("c") j = B("j") b = B("b") a = B("a") e = A("e") d = A("d") n = B("n") f = A("f") g = A("g") h.u = g h.s = e c.w = b c.p = n j.w = a j.p = a b.w = n b.p = a a.w = j a.p = j e.u = d e.s = h d.u = g d.s = g n.w = a n.p = a f.u = e f.s = g g.u = f g.s = h assert b.p.w.p.w.p.w.w.w.txt == "
j"
class A: def __init__(self, txt: str): self.u: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.p: B = None self.txt = txt h = A("h") c = B("c") j = B("j") b = B("b") a = B("a") e = A("e") d = A("d") n = B("n") f = A("f") g = A("g") h.u = g h.s = e c.w = b c.p = n j.w = a j.p = a b.w = n b.p = a a.w = j a.p = j e.u = d e.s = h d.u = g d.s = g n.w = a n.p = a f.u = e f.s = g g.u = f g.s = h assert b.p.w.p.w.p.w.w.w.txt == "j"
10
16
1.6
0.177778
2
5
2
2
2
8
4
4
3
0.3
4
0.25
6
2
6
3.333333
2
5
3
2
259
class A: def __init__(self, txt: str): self.z: A = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt a = A("a") i = B("i") j = A("j") n = B("n") a.z = j a.y = n i.y = n j.z = a j.y = i n.y = i assert i.y.y.y.txt == "
n"
class A: def __init__(self, txt: str): self.z: A = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt a = A("a") i = B("i") j = A("j") n = B("n") a.z = j a.y = n i.y = n j.z = a j.y = i n.y = i assert i.y.y.y.txt == "n"
4
6
1.5
0.5
2
2
2
1
1.5
3
2
2
2
0.5
2
0.333333
2
2
2
2
1
3
3
1
260
class A: def __init__(self, txt: str): self.t: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.p: B = None self.txt = txt c = A("c") h = B("h") e = A("e") j = A("j") g = B("g") c.t = j c.w = g h.u = j h.p = g e.t = j e.w = g j.t = e j.w = h g.u = e g.p = h assert c.t.w.p.p.txt == "
h"
class A: def __init__(self, txt: str): self.t: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.p: B = None self.txt = txt c = A("c") h = B("h") e = A("e") j = A("j") g = B("g") c.t = j c.w = g h.u = j h.p = g e.t = j e.w = g j.t = e j.w = h g.u = e g.p = h assert c.t.w.p.p.txt == "h"
5
10
2
0.5
2
2.5
2
2
2
4
2
1
4
0.8
4
0.4
1
2
2
2
3
2
2
1
261
class A: def __init__(self, txt: str): self.t: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt i = A("i") n = B("n") b = A("b") f = B("f") d = A("d") h = A("h") e = B("e") k = B("k") j = B("j") a = B("a") i.t = h i.r = b n.s = k b.t = d b.r = d f.s = k d.t = h d.r = b h.t = b h.r = i e.s = k k.s = f j.s = n a.s = f assert i.r.r.r.txt == "
b"
class A: def __init__(self, txt: str): self.t: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt i = A("i") n = B("n") b = A("b") f = B("f") d = A("d") h = A("h") e = B("e") k = B("k") j = B("j") a = B("a") i.t = h i.r = b n.s = k b.t = d b.r = d f.s = k d.t = h d.r = b h.t = b h.r = i e.s = k k.s = f j.s = n a.s = f assert i.r.r.r.txt == "b"
10
13
1.3
0.144444
2
5
2
1
1.5
3
2
1
3
0.3
3
0.230769
1
2
2
2
1
3
3
1
262
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.q: A = None self.txt = txt m = A("m") i = B("i") b = B("b") d = A("d") g = A("g") n = B("n") f = A("f") a = B("a") h = A("h") j = A("j") m.t = g i.y = a i.q = f b.y = a b.q = f d.t = m g.t = d n.y = a n.q = j f.t = j a.y = b a.q = h h.t = j j.t = f assert i.y.q.t.t.t.t.t.txt == "
j"
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.q: A = None self.txt = txt m = A("m") i = B("i") b = B("b") d = A("d") g = A("g") n = B("n") f = A("f") a = B("a") h = A("h") j = A("j") m.t = g i.y = a i.q = f b.y = a b.q = f d.t = m g.t = d n.y = a n.q = j f.t = j a.y = b a.q = h h.t = j j.t = f assert i.y.q.t.t.t.t.t.txt == "j"
10
14
1.4
0.155556
2
5
2
1
1.5
7
3
2
5
0.5
5
0.357143
3
2
4
2.5
3
5
5
1
263
class A: def __init__(self, txt: str): self.o: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt b = A("b") c = B("c") d = A("d") n = B("n") a = B("a") e = B("e") f = A("f") g = A("g") i = A("i") b.o = g b.x = f c.s = i d.o = f d.x = g n.s = i a.s = g e.s = b f.o = g f.x = i g.o = b g.x = b i.o = g i.x = f assert d.x.x.o.o.x.x.x.o.x.txt == "
b"
class A: def __init__(self, txt: str): self.o: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt b = A("b") c = B("c") d = A("d") n = B("n") a = B("a") e = B("e") f = A("f") g = A("g") i = A("i") b.o = g b.x = f c.s = i d.o = f d.x = g n.s = i a.s = g e.s = b f.o = g f.x = i g.o = b g.x = b i.o = g i.x = f assert d.x.x.o.o.x.x.x.o.x.txt == "b"
9
13
1.444444
0.180556
2
4.5
2
1
1.5
9
3
2
5
0.555556
8
0.615385
5
2
7
4.285714
2
6
3
2
264
class A: def __init__(self, txt: str): self.w: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.x: A = None self.txt = txt k = A("k") i = B("i") a = A("a") h = B("h") l = B("l") c = B("c") m = B("m") f = B("f") k.w = a k.s = m i.v = m i.x = a a.w = k a.s = c h.v = f h.x = k l.v = i l.x = k c.v = m c.x = k m.v = h m.x = a f.v = c f.x = a assert k.w.w.s.x.s.x.w.txt == "
a"
class A: def __init__(self, txt: str): self.w: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.x: A = None self.txt = txt k = A("k") i = B("i") a = A("a") h = B("h") l = B("l") c = B("c") m = B("m") f = B("f") k.w = a k.s = m i.v = m i.x = a a.w = k a.s = c h.v = f h.x = k l.v = i l.x = k c.v = m c.x = k m.v = h m.x = a f.v = c f.x = a assert k.w.w.s.x.s.x.w.txt == "a"
8
16
2
0.285714
2
4
2
2
2
7
3
2
4
0.5
6
0.375
4
2
6
4
3
3
2
2
265
class A: def __init__(self, txt: str): self.r: A = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.o: A = None self.txt = txt j = A("j") g = B("g") i = A("i") c = A("c") b = B("b") n = B("n") a = B("a") d = B("d") h = A("h") f = B("f") j.r = c j.w = h g.v = d g.o = j i.r = h i.w = j c.r = h c.w = h b.v = a b.o = c n.v = g n.o = i a.v = d a.o = i d.v = f d.o = j h.r = c h.w = j f.v = g f.o = j assert j.r.w.w.r.r.w.w.txt == "
h"
class A: def __init__(self, txt: str): self.r: A = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.o: A = None self.txt = txt j = A("j") g = B("g") i = A("i") c = A("c") b = B("b") n = B("n") a = B("a") d = B("d") h = A("h") f = B("f") j.r = c j.w = h g.v = d g.o = j i.r = h i.w = j c.r = h c.w = h b.v = a b.o = c n.v = g n.o = i a.v = d a.o = i d.v = f d.o = j h.r = c h.w = j f.v = g f.o = j assert j.r.w.w.r.r.w.w.txt == "h"
10
19
1.9
0.211111
2
5
2
2
2
7
3
2
3
0.3
5
0.263158
5
2
6
3.571429
2
4
2
2
266
class A: def __init__(self, txt: str): self.s: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.txt = txt f = A("f") d = B("d") i = A("i") m = B("m") k = B("k") j = A("j") h = B("h") f.s = j f.p = i d.t = m i.s = f i.p = j m.t = d k.t = m j.s = f j.p = f h.t = k assert i.p.s.p.s.p.txt == "
i"
class A: def __init__(self, txt: str): self.s: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.txt = txt f = A("f") d = B("d") i = A("i") m = B("m") k = B("k") j = A("j") h = B("h") f.s = j f.p = i d.t = m i.s = f i.p = j m.t = d k.t = m j.s = f j.p = f h.t = k assert i.p.s.p.s.p.txt == "i"
7
9
1.285714
0.214286
2
3.5
2
1
1.5
5
3
2
3
0.428571
4
0.444444
3
2
5
3
2
3
1
2
267
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.p: A = None self.txt = txt j = A("j") d = B("d") c = B("c") j.t = d d.z = c d.p = j c.z = d c.p = j assert j.t.z.z.txt == "
d"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.p: A = None self.txt = txt j = A("j") d = B("d") c = B("c") j.t = d d.z = c d.p = j c.z = d c.p = j assert j.t.z.z.txt == "d"
3
5
1.666667
0.833333
2
1.5
2
1
1.5
3
2
1
3
1
3
0.6
1
2
2
2
2
2
2
1
268
class A: def __init__(self, txt: str): self.q: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt i = A("i") n = B("n") l = A("l") k = A("k") e = A("e") g = A("g") j = B("j") a = B("a") f = B("f") i.q = k i.t = a n.w = j l.q = i l.t = j k.q = l k.t = n e.q = i e.t = n g.q = k g.t = f j.w = n a.w = f f.w = j assert k.q.q.q.t.w.w.w.txt == "
j"
class A: def __init__(self, txt: str): self.q: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt i = A("i") n = B("n") l = A("l") k = A("k") e = A("e") g = A("g") j = B("j") a = B("a") f = B("f") i.q = k i.t = a n.w = j l.q = i l.t = j k.q = l k.t = n e.q = i e.t = n g.q = k g.t = f j.w = n a.w = f f.w = j assert k.q.q.q.t.w.w.w.txt == "j"
9
14
1.555556
0.194444
2
4.5
2
1
1.5
7
2
2
5
0.555556
6
0.428571
3
2
3
2.333333
3
3
3
2
269
class A: def __init__(self, txt: str): self.r: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.w: B = None self.txt = txt h = A("h") e = B("e") b = B("b") c = B("c") n = B("n") m = A("m") g = B("g") f = B("f") k = A("k") h.r = k h.x = m e.x = f e.w = g b.x = f b.w = e c.x = b c.w = f n.x = g n.w = g m.r = k m.x = h g.x = e g.w = f f.x = n f.w = b k.r = h k.x = h assert m.x.r.r.x.x.r.r.r.txt == "
k"
class A: def __init__(self, txt: str): self.r: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.w: B = None self.txt = txt h = A("h") e = B("e") b = B("b") c = B("c") n = B("n") m = A("m") g = B("g") f = B("f") k = A("k") h.r = k h.x = m e.x = f e.w = g b.x = f b.w = e c.x = b c.w = f n.x = g n.w = g m.r = k m.x = h g.x = e g.w = f f.x = n f.w = b k.r = h k.x = h assert m.x.r.r.x.x.r.r.r.txt == "k"
9
16
1.777778
0.222222
2
4.5
2
2
2
8
4
3
3
0.333333
4
0.25
6
2
6
3.6
2
5
3
2
270
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.p: B = None self.txt = txt b = A("b") i = B("i") m = A("m") g = A("g") f = B("f") e = B("e") j = A("j") k = B("k") d = A("d") b.x = d i.t = g i.p = k m.x = g g.x = m f.t = g f.p = e e.t = m e.p = i j.x = d k.t = b k.p = e d.x = b assert m.x.x.x.x.x.x.x.x.x.txt == "
g"
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.p: B = None self.txt = txt b = A("b") i = B("i") m = A("m") g = A("g") f = B("f") e = B("e") j = A("j") k = B("k") d = A("d") b.x = d i.t = g i.p = k m.x = g g.x = m f.t = g f.p = e e.t = m e.p = i j.x = d k.t = b k.p = e d.x = b assert m.x.x.x.x.x.x.x.x.x.txt == "g"
9
13
1.444444
0.180556
2
4.5
2
1
1.5
9
5
5
2
0.222222
2
0.153846
8
2
8
4
1
9
9
1
271
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt l = A("l") n = B("n") f = A("f") i = A("i") h = B("h") l.t = i n.r = l f.t = l i.t = l h.r = l assert l.t.t.t.txt == "
i"
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt l = A("l") n = B("n") f = A("f") i = A("i") h = B("h") l.t = i n.r = l f.t = l i.t = l h.r = l assert l.t.t.t.txt == "i"
5
5
1
0.25
2
2.5
1
1
1
3
2
2
2
0.4
2
0.4
2
2
2
2
1
3
3
1
272
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.s: B = None self.txt = txt d = A("d") k = B("k") g = B("g") c = B("c") j = A("j") i = A("i") b = B("b") d.o = k k.x = c k.s = c g.x = b g.s = c c.x = b c.s = g j.o = c i.o = k b.x = k b.s = k assert g.x.x.x.x.txt == "
b"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.s: B = None self.txt = txt d = A("d") k = B("k") g = B("g") c = B("c") j = A("j") i = A("i") b = B("b") d.o = k k.x = c k.s = c g.x = b g.s = c c.x = b c.s = g j.o = c i.o = k b.x = k b.s = k assert g.x.x.x.x.txt == "b"
7
9
1.285714
0.214286
2
3.5
2
1
1.5
4
2
1
4
0.571429
4
0.444444
1
3
3
3
1
4
4
1
273
class A: def __init__(self, txt: str): self.s: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.s: B = None self.txt = txt j = A("j") g = B("g") l = B("l") e = B("e") a = B("a") f = A("f") j.s = f j.r = f g.y = a g.s = a l.y = e l.s = g e.y = l e.s = g a.y = g a.s = l f.s = j f.r = j assert f.s.r.s.s.s.s.txt == "
f"
class A: def __init__(self, txt: str): self.s: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.s: B = None self.txt = txt j = A("j") g = B("g") l = B("l") e = B("e") a = B("a") f = A("f") j.s = f j.r = f g.y = a g.s = a l.y = e l.s = g e.y = l e.s = g a.y = g a.s = l f.s = j f.r = j assert f.s.r.s.s.s.s.txt == "f"
6
9
1.5
0.3
2
3
2
2
2
6
4
3
2
0.333333
3
0.333333
5
2
6
3.111111
2
5
4
2
274
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt c = A("c") e = B("e") k = A("k") f = B("f") h = A("h") c.p = f e.u = f k.p = f f.u = e h.p = e assert e.u.u.u.txt == "
f"
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt c = A("c") e = B("e") k = A("k") f = B("f") h = A("h") c.p = f e.u = f k.p = f f.u = e h.p = e assert e.u.u.u.txt == "f"
5
5
1
0.25
2
2.5
1
1
1
3
2
2
2
0.4
2
0.4
2
2
2
2
1
3
3
1
275
class A: def __init__(self, txt: str): self.y: B = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.z: A = None self.txt = txt l = A("l") g = B("g") h = B("h") d = A("d") c = A("c") j = A("j") l.y = h l.t = j g.w = j g.z = d h.w = c h.z = l d.y = h d.t = c c.y = g c.t = l j.y = g j.t = c assert j.t.y.z.y.w.y.txt == "
g"
class A: def __init__(self, txt: str): self.y: B = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.z: A = None self.txt = txt l = A("l") g = B("g") h = B("h") d = A("d") c = A("c") j = A("j") l.y = h l.t = j g.w = j g.z = d h.w = c h.z = l d.y = h d.t = c c.y = g c.t = l j.y = g j.t = c assert j.t.y.z.y.w.y.txt == "g"
6
12
2
0.4
2
3
2
2
2
6
2
2
5
0.833333
5
0.416667
2
4
4
4
4
3
1
1
276
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt h = A("h") d = B("d") k = A("k") n = A("n") b = B("b") c = A("c") h.y = k d.q = c k.y = c n.y = h b.q = c c.y = h assert n.y.y.y.y.y.y.txt == "
c"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt h = A("h") d = B("d") k = A("k") n = A("n") b = B("b") c = A("c") h.y = k d.q = c k.y = c n.y = h b.q = c c.y = h assert n.y.y.y.y.y.y.txt == "c"
6
6
1
0.2
2
3
1
1
1
6
2
2
4
0.666667
4
0.666667
3
3
3
3
1
6
6
1
277
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt l = A("l") m = B("m") k = B("k") e = A("e") l.w = k m.v = k k.v = m e.w = k assert k.v.v.v.v.txt == "
k"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt l = A("l") m = B("m") k = B("k") e = A("e") l.w = k m.v = k k.v = m e.w = k assert k.v.v.v.v.txt == "k"
4
4
1
0.333333
2
2
1
1
1
4
3
2
2
0.5
2
0.5
3
2
4
2.5
1
4
4
1
278
class A: def __init__(self, txt: str): self.q: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt a = A("a") j = B("j") b = A("b") h = A("h") m = B("m") k = A("k") i = A("i") f = B("f") g = A("g") e = A("e") a.q = f a.x = m j.t = k b.q = j b.x = j h.q = j h.x = f m.t = k k.q = f k.x = m i.q = f i.x = f f.t = i g.q = j g.x = j e.q = j e.x = m assert e.q.t.x.t.txt == "
k"
class A: def __init__(self, txt: str): self.q: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt a = A("a") j = B("j") b = A("b") h = A("h") m = B("m") k = A("k") i = A("i") f = B("f") g = A("g") e = A("e") a.q = f a.x = m j.t = k b.q = j b.x = j h.q = j h.x = f m.t = k k.q = f k.x = m i.q = f i.x = f f.t = i g.q = j g.x = j e.q = j e.x = m assert e.q.t.x.t.txt == "k"
10
14
1.4
0.155556
2
5
2
1
1.5
4
2
1
4
0.4
4
0.285714
1
2
2
2
3
2
1
1
279
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt l = A("l") a = B("a") c = B("c") h = A("h") n = B("n") g = A("g") e = A("e") i = B("i") d = A("d") k = A("k") l.t = i a.y = i c.y = a h.t = a n.y = i g.t = a e.t = c i.y = n d.t = n k.t = n assert k.t.y.y.y.y.y.y.y.y.y.txt == "
i"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt l = A("l") a = B("a") c = B("c") h = A("h") n = B("n") g = A("g") e = A("e") i = B("i") d = A("d") k = A("k") l.t = i a.y = i c.y = a h.t = a n.y = i g.t = a e.t = c i.y = n d.t = n k.t = n assert k.t.y.y.y.y.y.y.y.y.y.txt == "i"
10
10
1
0.111111
2
5
1
1
1
10
5
5
3
0.3
3
0.3
8
2
8
4
2
9
9
1
280
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.v: B = None self.txt = txt m = A("m") j = B("j") e = B("e") l = A("l") i = A("i") a = B("a") k = B("k") b = B("b") m.y = l j.x = m j.v = a e.x = m e.v = b l.y = i i.y = l a.x = i a.v = e k.x = l k.v = b b.x = m b.v = j assert a.v.v.x.y.txt == "
l"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.v: B = None self.txt = txt m = A("m") j = B("j") e = B("e") l = A("l") i = A("i") a = B("a") k = B("k") b = B("b") m.y = l j.x = m j.v = a e.x = m e.v = b l.y = i i.y = l a.x = i a.v = e k.x = l k.v = b b.x = m b.v = j assert a.v.v.x.y.txt == "l"
8
13
1.625
0.232143
2
4
2
1
1.5
4
1
1
5
0.625
4
0.307692
0
null
null
null
3
2
2
1
281
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.txt = txt e = A("e") j = B("j") b = B("b") f = B("f") d = A("d") e.y = j j.t = f b.t = f f.t = b d.y = f assert e.y.t.t.txt == "
b"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.txt = txt e = A("e") j = B("j") b = B("b") f = B("f") d = A("d") e.y = j j.t = f b.t = f f.t = b d.y = f assert e.y.t.t.txt == "b"
5
5
1
0.25
2
2.5
1
1
1
3
1
1
4
0.8
3
0.6
0
null
null
null
2
2
2
1
282
class A: def __init__(self, txt: str): self.q: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.u: A = None self.txt = txt c = A("c") e = B("e") n = A("n") f = B("f") g = B("g") c.q = n c.o = n e.z = n e.u = c n.q = c n.o = c f.z = c f.u = n g.z = c g.u = c assert c.o.o.q.txt == "
n"
class A: def __init__(self, txt: str): self.q: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.u: A = None self.txt = txt c = A("c") e = B("e") n = A("n") f = B("f") g = B("g") c.q = n c.o = n e.z = n e.u = c n.q = c n.o = c f.z = c f.u = n g.z = c g.u = c assert c.o.o.q.txt == "n"
5
7
1.4
0.35
2
2.5
2
2
2
3
2
1
2
0.4
3
0.428571
2
2
2
2
2
2
2
2
283
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.y: B = None self.txt = txt g = A("g") h = B("h") i = A("i") k = B("k") j = A("j") e = B("e") g.w = k h.v = g h.y = e i.w = k k.v = j k.y = e j.w = k e.v = j e.y = k assert i.w.v.w.v.w.v.txt == "
j"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.y: B = None self.txt = txt g = A("g") h = B("h") i = A("i") k = B("k") j = A("j") e = B("e") g.w = k h.v = g h.y = e i.w = k k.v = j k.y = e j.w = k e.v = j e.y = k assert i.w.v.w.v.w.v.txt == "j"
6
9
1.5
0.3
2
3
2
1
1.5
6
3
3
3
0.5
3
0.333333
4
2
4
2.666667
2
3
1
1
284
class A: def __init__(self, txt: str): self.r: A = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.o: A = None self.txt = txt k = A("k") m = B("m") c = B("c") j = A("j") k.r = j k.p = m m.u = j m.o = j c.u = j c.o = j j.r = k j.p = m assert c.o.p.u.p.txt == "
m"
class A: def __init__(self, txt: str): self.r: A = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.o: A = None self.txt = txt k = A("k") m = B("m") c = B("c") j = A("j") k.r = j k.p = m m.u = j m.o = j c.u = j c.o = j j.r = k j.p = m assert c.o.p.u.p.txt == "m"
4
6
1.5
0.5
2
2
2
2
2
4
2
2
3
0.75
3
0.5
2
2
2
2
3
2
1
1
285
class A: def __init__(self, txt: str): self.o: B = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.v: B = None self.txt = txt m = A("m") b = B("b") k = A("k") n = B("n") f = A("f") d = A("d") m.o = n m.t = k b.u = f b.v = n k.o = b k.t = d n.u = f n.v = b f.o = n f.t = m d.o = n d.t = f assert f.t.o.v.v.v.u.txt == "
f"
class A: def __init__(self, txt: str): self.o: B = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.v: B = None self.txt = txt m = A("m") b = B("b") k = A("k") n = B("n") f = A("f") d = A("d") m.o = n m.t = k b.u = f b.v = n k.o = b k.t = d n.u = f n.v = b f.o = n f.t = m d.o = n d.t = f assert f.t.o.v.v.v.u.txt == "f"
6
12
2
0.4
2
3
2
2
2
6
2
2
4
0.666667
5
0.416667
3
2
6
3.333333
4
3
3
2
286
class A: def __init__(self, txt: str): self.s: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.p: B = None self.txt = txt g = A("g") f = B("f") d = A("d") h = A("h") l = B("l") k = B("k") g.s = f g.w = h f.o = g f.p = l d.s = k d.w = h h.s = l h.w = g l.o = h l.p = f k.o = g k.p = l assert d.s.o.w.txt == "
h"
class A: def __init__(self, txt: str): self.s: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.p: B = None self.txt = txt g = A("g") f = B("f") d = A("d") h = A("h") l = B("l") k = B("k") g.s = f g.w = h f.o = g f.p = l d.s = k d.w = h h.s = l h.w = g l.o = h l.p = f k.o = g k.p = l assert d.s.o.w.txt == "h"
6
12
2
0.4
2
3
2
2
2
3
1
1
4
0.666667
3
0.25
0
null
null
null
3
1
1
1
287
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.o: A = None self.txt = txt j = A("j") b = B("b") d = A("d") n = B("n") i = A("i") m = B("m") j.q = m b.y = m b.o = j d.q = n n.y = b n.o = i i.q = b m.y = b m.o = j assert d.q.o.q.y.o.txt == "
j"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.o: A = None self.txt = txt j = A("j") b = B("b") d = A("d") n = B("n") i = A("i") m = B("m") j.q = m b.y = m b.o = j d.q = n n.y = b n.o = i i.q = b m.y = b m.o = j assert d.q.o.q.y.o.txt == "j"
6
9
1.5
0.3
2
3
2
1
1.5
5
1
1
6
1
5
0.555556
0
null
null
null
3
2
1
1
288
class A: def __init__(self, txt: str): self.q: A = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt i = A("i") m = B("m") n = A("n") g = A("g") j = B("j") k = A("k") d = B("d") a = B("a") i.q = g i.r = j m.x = i n.q = i n.r = j g.q = k g.r = j j.x = k k.q = n k.r = a d.x = k a.x = n assert k.q.q.q.q.r.txt == "
a"
class A: def __init__(self, txt: str): self.q: A = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt i = A("i") m = B("m") n = A("n") g = A("g") j = B("j") k = A("k") d = B("d") a = B("a") i.q = g i.r = j m.x = i n.q = i n.r = j g.q = k g.r = j j.x = k k.q = n k.r = a d.x = k a.x = n assert k.q.q.q.q.r.txt == "a"
8
12
1.5
0.214286
2
4
2
1
1.5
5
2
1
5
0.625
5
0.416667
1
4
4
4
2
4
4
2
289
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt a = A("a") k = B("k") l = B("l") i = B("i") e = A("e") n = B("n") m = B("m") a.z = e k.x = l l.x = k i.x = l e.z = a n.x = m m.x = n assert m.x.x.x.txt == "
n"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt a = A("a") k = B("k") l = B("l") i = B("i") e = A("e") n = B("n") m = B("m") a.z = e k.x = l l.x = k i.x = l e.z = a n.x = m m.x = n assert m.x.x.x.txt == "n"
7
7
1
0.166667
2
3.5
1
1
1
3
2
2
2
0.285714
2
0.285714
2
2
2
2
1
3
3
1
290
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt d = A("d") m = B("m") i = A("i") e = B("e") h = A("h") c = A("c") a = A("a") k = A("k") d.y = h m.z = a i.y = d e.z = i h.y = a c.y = d a.y = d k.y = a assert m.z.y.y.y.y.y.y.y.txt == "
d"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt d = A("d") m = B("m") i = A("i") e = B("e") h = A("h") c = A("c") a = A("a") k = A("k") d.y = h m.z = a i.y = d e.z = i h.y = a c.y = d a.y = d k.y = a assert m.z.y.y.y.y.y.y.y.txt == "d"
8
8
1
0.142857
2
4
1
1
1
8
3
3
4
0.5
4
0.5
5
3
6
3.857143
2
7
7
1
291
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.r: A = None self.txt = txt h = A("h") g = B("g") j = B("j") h.u = g g.y = j g.r = h j.y = g j.r = h assert h.u.y.r.txt == "
h"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.r: A = None self.txt = txt h = A("h") g = B("g") j = B("j") h.u = g g.y = j g.r = h j.y = g j.r = h assert h.u.y.r.txt == "h"
3
5
1.666667
0.833333
2
1.5
2
1
1.5
3
2
1
3
1
3
0.6
1
3
3
3
3
1
1
1
292
class A: def __init__(self, txt: str): self.x: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt m = A("m") l = B("l") e = A("e") j = A("j") h = A("h") a = A("a") i = B("i") m.x = e m.y = e l.x = i e.x = h e.y = j j.x = m j.y = e h.x = m h.y = j a.x = m a.y = h i.x = l assert j.x.x.y.x.x.y.y.txt == "
e"
class A: def __init__(self, txt: str): self.x: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt m = A("m") l = B("l") e = A("e") j = A("j") h = A("h") a = A("a") i = B("i") m.x = e m.y = e l.x = i e.x = h e.y = j j.x = m j.y = e h.x = m h.y = j a.x = m a.y = h i.x = l assert j.x.x.y.x.x.y.y.txt == "e"
7
11
1.571429
0.261905
2
3.5
2
1
1.5
7
3
2
3
0.428571
4
0.363636
5
2
6
3.571429
2
4
2
2
293
class A: def __init__(self, txt: str): self.p: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt e = A("e") h = B("h") d = B("d") j = A("j") g = A("g") i = B("i") e.p = i e.s = d h.q = i d.q = i j.p = i j.s = h g.p = d g.s = i i.q = h assert e.p.q.q.q.txt == "
h"
class A: def __init__(self, txt: str): self.p: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt e = A("e") h = B("h") d = B("d") j = A("j") g = A("g") i = B("i") e.p = i e.s = d h.q = i d.q = i j.p = i j.s = h g.p = d g.s = i i.q = h assert e.p.q.q.q.txt == "h"
6
9
1.5
0.3
2
3
2
1
1.5
4
2
2
3
0.5
3
0.333333
2
2
2
2
2
3
3
1
294
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.p: A = None self.txt = txt n = A("n") c = B("c") k = B("k") i = B("i") m = A("m") n.o = m c.w = m c.p = m k.w = n k.p = n i.w = n i.p = m m.o = n assert k.w.o.o.o.o.txt == "
n"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.p: A = None self.txt = txt n = A("n") c = B("c") k = B("k") i = B("i") m = A("m") n.o = m c.w = m c.p = m k.w = n k.p = n i.w = n i.p = m m.o = n assert k.w.o.o.o.o.txt == "n"
5
6
1.2
0.3
2
2.5
2
1
1.5
5
3
2
3
0.6
3
0.5
3
2
4
2.5
2
4
4
1
295
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.y: A = None self.txt = txt n = A("n") f = B("f") a = A("a") j = A("j") g = A("g") n.o = g f.o = g f.y = j a.o = j j.o = n g.o = j assert n.o.o.o.o.o.txt == "
j"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.y: A = None self.txt = txt n = A("n") f = B("f") a = A("a") j = A("j") g = A("g") n.o = g f.o = g f.y = j a.o = j j.o = n g.o = j assert n.o.o.o.o.o.txt == "j"
5
6
1.2
0.3
2
2.5
2
1
1.5
5
2
2
3
0.6
3
0.5
3
3
3
3
1
5
5
1
296
class A: def __init__(self, txt: str): self.y: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt f = A("f") g = B("g") a = A("a") b = B("b") k = B("k") i = B("i") e = B("e") m = B("m") n = B("n") d = B("d") f.y = a f.q = i g.y = a a.y = f a.q = e b.y = a k.y = a i.y = a e.y = a m.y = a n.y = f d.y = f assert m.y.y.y.y.y.q.y.q.y.txt == "
a"
class A: def __init__(self, txt: str): self.y: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt f = A("f") g = B("g") a = A("a") b = B("b") k = B("k") i = B("i") e = B("e") m = B("m") n = B("n") d = B("d") f.y = a f.q = i g.y = a a.y = f a.q = e b.y = a k.y = a i.y = a e.y = a m.y = a n.y = f d.y = f assert m.y.y.y.y.y.q.y.q.y.txt == "a"
10
12
1.2
0.133333
2
5
2
1
1.5
9
5
2
4
0.4
5
0.416667
6
2
8
3.666667
2
7
5
2
297
class A: def __init__(self, txt: str): self.o: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.w: B = None self.txt = txt a = A("a") f = B("f") b = B("b") k = A("k") i = A("i") m = B("m") a.o = m a.v = i f.y = a f.w = b b.y = i b.w = m k.o = m k.v = a i.o = f i.v = a m.y = a m.w = f assert i.v.v.o.w.w.txt == "
m"
class A: def __init__(self, txt: str): self.o: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.w: B = None self.txt = txt a = A("a") f = B("f") b = B("b") k = A("k") i = A("i") m = B("m") a.o = m a.v = i f.y = a f.w = b b.y = i b.w = m k.o = m k.v = a i.o = f i.v = a m.y = a m.w = f assert i.v.v.o.w.w.txt == "m"
6
12
2
0.4
2
3
2
2
2
5
2
1
5
0.833333
5
0.416667
1
2
2
2
3
2
2
2
298
class A: def __init__(self, txt: str): self.q: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.t: A = None self.txt = txt e = A("e") l = B("l") j = A("j") d = A("d") n = A("n") c = B("c") k = A("k") a = A("a") f = A("f") i = B("i") e.q = n e.o = a l.w = i l.t = f j.q = d j.o = n d.q = n d.o = a n.q = f n.o = f c.w = i c.t = k k.q = a k.o = n a.q = k a.o = j f.q = e f.o = d i.w = c i.t = a assert k.o.o.o.o.o.txt == "
j"
class A: def __init__(self, txt: str): self.q: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.t: A = None self.txt = txt e = A("e") l = B("l") j = A("j") d = A("d") n = A("n") c = B("c") k = A("k") a = A("a") f = A("f") i = B("i") e.q = n e.o = a l.w = i l.t = f j.q = d j.o = n d.q = n d.o = a n.q = f n.o = f c.w = i c.t = k k.q = a k.o = n a.q = k a.o = j f.q = e f.o = d i.w = c i.t = a assert k.o.o.o.o.o.txt == "j"
10
19
1.9
0.211111
2
5
2
2
2
5
1
1
6
0.6
5
0.263158
0
null
null
null
1
5
5
1
299
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt a = A("a") d = B("d") i = B("i") k = A("k") m = A("m") j = A("j") f = B("f") c = B("c") n = B("n") a.s = d d.w = k i.w = j k.s = d m.s = n j.s = c f.w = m c.w = j n.w = a assert k.s.w.s.w.s.w.txt == "
k"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt a = A("a") d = B("d") i = B("i") k = A("k") m = A("m") j = A("j") f = B("f") c = B("c") n = B("n") a.s = d d.w = k i.w = j k.s = d m.s = n j.s = c f.w = m c.w = j n.w = a assert k.s.w.s.w.s.w.txt == "k"
9
9
1
0.125
2
4.5
1
1
1
6
4
3
2
0.222222
2
0.222222
5
2
6
3.111111
2
3
1
1