commit a8f5ea61af52bf2088fb7ad9245c43dd5178812c parent 341d82268bcae314ccf5a11b6523acc4371a199b Author: = <=> Date: Thu, 23 Oct 2025 18:28:22 +0300 Final soultion fixed Diffstat:
| M | final_solution.cpp | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/final_solution.cpp b/final_solution.cpp @@ -81,8 +81,8 @@ parse_pre(Node* root) // do smth with val - if (root->left) parse_post(root->left); - if (root->right) parse_post(root->right); + if (root->left) parse_pre(root->left); + if (root->right) parse_pre(root->right); return NULL; }