Modified Inorder Traversal with Running Sum | FE Prep