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.
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)