Skip to content

feat: add solution for problem no.1114 and no.1115 #298

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ylink-lfs
Copy link

Add solutions for 2 leetcode problem written in Go not presented in repo.

@haowan1015
Copy link

haowan1015 commented Jun 18, 2025 via email

@xiaokuer
Copy link

xiaokuer commented Jun 18, 2025 via email

- [Data Structures](#data-structures)
- [Algorithm](#algorithm)
- [LeetCode Problems](#leetcode-problems)
- [一. 个人数据](#一-个人数据)
Copy link
Owner

Choose a reason for hiding this comment

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

这部分应该不用改动

chans []chan bool
}

func NewFoo() *Foo {
Copy link
Owner

Choose a reason for hiding this comment

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

这道题官方没有 go 的语言选择。你那边可以用 go 提交代码么?

return &pt
}

func (this *FooBar) foo() {
Copy link
Owner

Choose a reason for hiding this comment

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

函数名错了,要大写。并且入参需要输入一个函数:

func (fb *FooBar) Foo(printFoo func()) {}

}
}

func (this *FooBar) bar() {
Copy link
Owner

Choose a reason for hiding this comment

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

函数名错了,要大写。并且入参需要输入一个函数:

func (fb *FooBar) Bar(printBar func()) {}

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.

4 participants