ephremdeme / data-structure-and-algorithms

Implement most data structures and algorithms in different programming languages.
Apache License 2.0
50 stars 145 forks source link

Added palindrome #365

Closed phistav closed 3 years ago

phistav commented 3 years ago

Added palidrome.

Note: please add hacktoberfest-accepted to the PR.

phistav commented 3 years ago

@Kanhakhatri065 Could you please review this request?

phistav commented 3 years ago

@zafar-hussain could you please review this request and add hacktoberfest-accepted. Thanks

zafar-hussain commented 3 years ago

hi @phistav

the task is to: "Build a function that checks whether a given number is a palindrome or not without using strings. Implement it using any language.

For example: input: 12321 output: true"

but your code uses strings, hence not satisfying the requirement.

you need to solve it only using numbers, not strings