this function traverses the tree in preorder traversal while creating the string ans first we add an opening bracket add the value of current node is it's not null recursively solve the problem for left child if left child is null and right child is not null add opening and closing brackets recursively solve the problem for right child
source not stored for this graph (policy: none)
nothing calls this directly
no outgoing calls
no test coverage detected