-
-
Notifications
You must be signed in to change notification settings - Fork 21
Add palindrome number check (math and string methods) [GSSoC 2025] #758
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
Add palindrome number check (math and string methods) [GSSoC 2025] #758
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
arghyaxcodes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing the frontmatter section in content/programs/java-program-to-check-palindrome-number.mdx is necessary, before merging the chnages.
@uiuxarghya i cant understand what you want to say as code is properly formatted. So please elaborate |
The error isn’t about code formatting — it’s about the frontmatter metadata at the top of the MDX file. That means the Please make sure the file starts with a valid YAML block like this: ---
title: "Java Program to Check Palindrome Number"
description: "Learn how to check whether a number is a palindrome in Java with examples and explanation."
---Once you add a proper title and commit the change, the build should pass. ✅ Also, if you find the project helpful, consider giving the repo a ⭐ on GitHub — it really helps! 🚀 |
|
@uiuxarghya changes has been done as you requested |
Thanks, consider giving the repo a ⭐ on GitHub. |
3 approaches: Mathematical digit reversal, string comparison, and interactive version
Clear explanations: Step-by-step code with outputs
Performance notes: O(1) vs O(log n) space complexity
Edge cases: Negative numbers handling
Examples: 121 (palindrome) vs 1234 (not palindrome)