Skip to content
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

Changed Solution to actual 24th Daily Question #98

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

Krupakar-Reddy-S
Copy link
Contributor

🚀 What does this PR do?

  • Adds solution for LeetCode Daily Challenge on Thursday, 24th October in (Java, C++).
  • Recursively check for the subtrees being equal in one of normal or flipped states.

📝 Issue Reference:

Fixes issue: #24

🔍 Checklist:

Please ensure the following before submitting your PR:

  • I have placed my solution in the correct folder (solutions/day24/).
  • My code follows clean coding practices and is efficient.
  • I have added comments in my code to explain the approach.
  • I have updated the README.md for the specific day with a brief explanation of my solution.
  • I have tested the solution on LeetCode and it works correctly.

🔧 Solution Details:

  • Language Used: Java, C++
  • Time Complexity: O(n)
  • Space Complexity: O(1), excluding recursion stack

🌟 Additional Notes (if any):

@arya2004 arya2004 merged commit 3ee54b1 into arya2004:main Oct 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants