-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 JS for chapter of computational complexity #116
Add JS for chapter of computational complexity #116
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
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.
Hi! @gyt95 Thanks for the contribution! This PR will keep open waiting for the space_time_tradeoff.md and leetcode_two_sum.js update. There are some things that need you to update this PR:
- You didn't use ';' at the end of every line in this PR. Could you update them to match other JS codes, at the end of every line use ';'.
- Our repositories' indentation style is 4 spaces, please update them to match other JS codes.
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.
Hi!@gyt95 The code should have a test and pass the test, please follow the Java code to make the JS test.
You could see the Contribution Guideline: #15 (comment)
codes/javascript/chapter_computational_complexity/leetcode_two_sum.js
Outdated
Show resolved
Hide resolved
codes/javascript/chapter_computational_complexity/leetcode_two_sum.js
Outdated
Show resolved
Hide resolved
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.
Hi! @gyt95, please update the code and the docs. Thank you for your contribution.
codes/javascript/chapter_computational_complexity/leetcode_two_sum.js
Outdated
Show resolved
Hide resolved
codes/javascript/chapter_computational_complexity/leetcode_two_sum.js
Outdated
Show resolved
Hide resolved
codes/javascript/chapter_computational_complexity/leetcode_two_sum.js
Outdated
Show resolved
Hide resolved
codes/javascript/chapter_computational_complexity/leetcode_two_sum.js
Outdated
Show resolved
Hide resolved
codes/javascript/chapter_computational_complexity/leetcode_two_sum.js
Outdated
Show resolved
Hide resolved
codes/javascript/chapter_computational_complexity/leetcode_two_sum.js
Outdated
Show resolved
Hide resolved
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.
Good job! Thank you.
No description provided.