Skip to content

Solved Palindrome Number In JavaScript #8

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

Merged
merged 2 commits into from
Aug 21, 2022
Merged

Solved Palindrome Number In JavaScript #8

merged 2 commits into from
Aug 21, 2022

Conversation

09xHarsh
Copy link
Contributor

  • Solved leetcode's problem no. 9 (Palindrome Number) in JavaScript.

@anishLearnsToCode
Copy link
Owner

Please add link to problem and time and space complexity as well:

// https://leetcode.com/problems/palindrome-number
// T: O(log(n))
// S: O(1)

- Added link to the problem
- Added T.C. as well as S.C.
@anishLearnsToCode
Copy link
Owner

Another thing, every file should end with a new line character \n, so please add that as well. Thanks for taking all this feedback :) and i will merge it after that.

@09xHarsh
Copy link
Contributor Author

Can you give an example for better understanding.

@anishLearnsToCode
Copy link
Owner

ofcourse !! so basically every file in programming should end with a new line, basically there should be one extra line in every file irrespective of the extenstion. so if it is .py .java or .js whatever the end should be like:

class Hello {
}
\n --> this is extra line
class Hello:
  def __init__():
    print('stuff')
\n -> extra line here
const hello = () => {
  console.log('hello');
};
\n --> extra line

@anishLearnsToCode anishLearnsToCode merged commit b9e85e6 into anishLearnsToCode:master Aug 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants