AZ
Size: a a a
AZ
SP
V
V
RP
V
SP
V
RP
RP
V
AZ
RP
p
Tree map(IntTree tree, Action<int, String> action) {
new Tree {
val = action(tree.val),
left = (tree.left is null) ? null : map(tree.left, action),
right = (tree.right is null) ? null : map(tree.right, action),
}
}
Не
помню что там Action или Func толькоSP
AZ
Tree map(IntTree tree, Action<int, String> action) {
new Tree {
val = action(tree.val),
left = (tree.left is null) ? null : map(tree.left, action),
right = (tree.right is null) ? null : map(tree.right, action),
}
}
Не
помню что там Action или Func толькоAZ
AZ
SP
p