Skip to content

A better C++ solution for problem 100: Same Tree #392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lemorage opened this issue Jun 15, 2023 · 1 comment
Closed

A better C++ solution for problem 100: Same Tree #392

lemorage opened this issue Jun 15, 2023 · 1 comment

Comments

@lemorage
Copy link

There is an existing solution for Problem 100: Same Tree in C++ (#181), but the provided solution is suboptimal, unclear, and does not adhere to the breadth-first search (BFS) approach as it claimed. I would like to propose an improved solution using depth-first search (DFS) that can be implemented in just three lines of code in C++.

I kindly request that this issue be assigned to me. Problem Link: Problem 100: Same Tree

@welcome
Copy link

welcome bot commented Jun 15, 2023

Thanks for helping us improve and opening your first issue here! Don't forget to give us a 🌟 to support us.

While you're waiting, I just wanted to make sure you've had a chance to look at our Readme and Pull Request Guidelines.

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

No branches or pull requests

2 participants