Skip to content

Fix line order in flatten binary tree function#4

Open
AyushRaj1111 wants to merge 1 commit intoCodensity30:mainfrom
AyushRaj1111:fix/flatten-binary-tree-order
Open

Fix line order in flatten binary tree function#4
AyushRaj1111 wants to merge 1 commit intoCodensity30:mainfrom
AyushRaj1111:fix/flatten-binary-tree-order

Conversation

@AyushRaj1111
Copy link
Copy Markdown

Summary of changes:

Corrected the order of assignments in the flatten function.
Ensured code logic matches the intended approach for flattening the binary tree.

solve issue #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant