Skip to content

Conversation

@shaikadam222
Copy link

Pull Request Template

Solves #9

Description

This code follows the Dividing and combining approach steps are present in the further description.

Put check marks:

Have you made changes in README file ?

  • Added problem & solution under correct topic.

  • Specified Space & Time complexity.

  • Specified difficulty level, tag & Note(if any).

Pull Request Template

Description

Simpler approach to solve

  1. Store the number in a temporary variable because we are going to modify it in further cases
  2. now find the reminder of the number 'n' and store in the 'rem' variable
  3. divide the number with 10 so that to eliminate the last digit
  4. multiply the reminder with 10 and store it in 's' variable
  5. repeat steps 3,4 and 5 till n<=0
  6. then compare 's' with 'temp' if they are same then return true else false

Put check marks:

Have you made changes in README file ?

  • Added problem & solution under correct topic.
  • Specified Space & Time complexity.
  • Specified difficulty level, tag & Note(if any).

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • Test A
  • Test B

Make sure all below guidelines are followed else PR will get Reject:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code so that it is easy to understand
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
@welcome
Copy link

welcome bot commented Sep 25, 2023

I can tell this is your first pull request! Thank you I'm so honored. 🎉🎉🎉 I'll take a look at it ASAP!

@shaikadam222 shaikadam222 closed this by deleting the head repository Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant