Skip to content
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

feat(computational_complexity/two_sum): add go code #8

Merged
merged 1 commit into from
Nov 25, 2022

Conversation

Reanon
Copy link
Contributor

@Reanon Reanon commented Nov 24, 2022

1.add go code to chapter_computational_complexity

@vercel
Copy link

vercel bot commented Nov 24, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
hello-algo ✅ Ready (Inspect) Visit Preview Nov 25, 2022 at 1:15AM (UTC)

codes/go/go.mod Outdated Show resolved Hide resolved
Copy link
Owner

@krahets krahets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank @Reanon for the translation!
There are still some issues needed to be clarified.

1.add go code to chapter_computational_complexity
2.add go code to space_time_tradeoff.md
3. Indentation of Go code is tab in *.go , 4 spaces in *.md
Copy link
Owner

@krahets krahets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the work. Now merge it.

@krahets krahets merged commit 072890e into krahets:master Nov 25, 2022
@krahets
Copy link
Owner

krahets commented Nov 25, 2022

@Reanon By the way, it is not recommended to use Git's push --force.

Git's push --force is destructive because it unconditionally overwrites the remote repository with whatever you have locally, possibly overwriting any changes that a team member has pushed in the meantime.

@Reanon Reanon deleted the docs/support-golang-chapter1 branch November 25, 2022 05:23
@krahets
Copy link
Owner

krahets commented Nov 25, 2022

This PR is linked with #16

@Reanon
Copy link
Contributor Author

Reanon commented Nov 25, 2022

Git' s push --force is to keep only one commit for clear. GitHub doesn't have the functionality of patches, maybe mutil-commits are better choice. The next PR will not use push --force.

@krahets krahets added code Code-related and removed enhancement labels Dec 3, 2022
@Reanon Reanon changed the title feat(chapter1): add go code to chapter1 feat(computational_complexity/two_sum): add go code. Jan 8, 2023
@Reanon Reanon mentioned this pull request Jan 8, 2023
36 tasks
@Reanon Reanon changed the title feat(computational_complexity/two_sum): add go code. feat(computational_complexity/two_sum): add go code Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Code-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants