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

Added solution for day 24 problem in java and c++ #97

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

mishraditi
Copy link
Contributor

🚀 What does this PR do?

  • Adds solution for LeetCode Daily Challenge on Wednesday and 23rd October in Java and C ++.
  • Briefly explain the approach taken to solve the problem:
  • The approach taken in the provided solution solves the problem by converting the array of digits into an integer, incrementing the integer by 1, and then converting it back to an array of digits.

📝 Issue Reference:

https://github.com/arya2004/leetcode-daily-october-hacktoberfest-2024/tree/main/solutions/day24
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 and C++
  • Time Complexity: (e.g., O(n log n), O(n), etc.)
  • Space Complexity: (e.g., O(1), O(n), etc.)

@arya2004 arya2004 merged commit 4c8bb82 into arya2004:main Oct 23, 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