https://www.hackerrank.com/contests/ncr-codesprint/challenges/flexible-tree-visitor-pattern
I am unable to get it right , can someone share their accepted code? The solutions are not visible and no editorial is provided.Your help is highly appreciated!! Please help !! Just share your code.