We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
是 go 最优解,不信你可以复制我的代码,去 leetcode 提交。你举几个例子,哪些题用 python 改写了,性能变的很差?
Sorry, something went wrong.
比如 [632. Smallest Range Covering Elements from K Lists]: [1235. Maximum Profit in Job Scheduling]:
是不是python的问题,这个语言好像本身就性能不太好?
@Jack-cin 他们网站后台数据加强了。我用 Go 的代码又提交了一次,632 降低到 88.89%,1235 降低到 93.33% 。至于 Python 的版本,有些翻译过来的实现,需要更改。Go 的 runtime 和 Python 不一样,所以直接翻译过来耗时和内存都不一样。
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: