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.
🚀 What does this PR do?
📝 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:
solutions/day24/
).README.md
for the specific day with a brief explanation of my solution.🔧 Solution Details: