Description
tarverseDFS function is not working
Expected Behavior
tarverseDFS function should traverse the tree
Actual Behavior
In tarverseDFS function , the res array ia empty or undefined
Steps to reproduce (if applicable)
No response
Additional information
No response