4 ms·
Coalescing those four lines onto one is fine, but writing: map(invert, (node.right, node.left)) is definitely not simpler than: invert(node.right), i
by quietbritishjim 8y ago
Coalescing those four lines onto one is fine, but writing:
map(invert, (node.right, node.left))
is definitely not simpler than:
invert(node.right), invert(node.left)