{"id":37876442,"url":"https://github.com/yuancf1024/algorithm-go","last_synced_at":"2026-01-16T16:45:07.017Z","repository":{"id":41319179,"uuid":"439558550","full_name":"yuancf1024/algorithm-go","owner":"yuancf1024","description":"✨ 小白的leetcode刷题和算法学习记录","archived":false,"fork":false,"pushed_at":"2024-07-09T15:55:39.000Z","size":9617,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-07-09T20:41:58.883Z","etag":null,"topics":["algorithms","go","leetcode","runoob"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuancf1024.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-18T07:50:38.000Z","updated_at":"2024-07-09T15:55:43.000Z","dependencies_parsed_at":"2024-07-08T19:58:45.590Z","dependency_job_id":null,"html_url":"https://github.com/yuancf1024/algorithm-go","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/yuancf1024/algorithm-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuancf1024%2Falgorithm-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuancf1024%2Falgorithm-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuancf1024%2Falgorithm-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuancf1024%2Falgorithm-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuancf1024","download_url":"https://codeload.github.com/yuancf1024/algorithm-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuancf1024%2Falgorithm-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480077,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","go","leetcode","runoob"],"created_at":"2026-01-16T16:45:02.817Z","updated_at":"2026-01-16T16:45:07.003Z","avatar_url":"https://github.com/yuancf1024.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# algorithm-go\n\n小白的leetcode刷题仓库，记录一些算法学习和刷题中的点滴。\n\n@halfrost 霜神分享的一篇年终总结[不甘当学渣，努力作学霸，最终是学民](https://halfrost.com/halfrost_2019/#toc-15)里面的一句话让我颇有触动：\n\n\u003e 看程序员是否勤奋就看他的英语好不好，智商高不高就看他算法好不好。\n\n先天的改变不了，那就靠努力✊来凑啦。加油呀💪\n\n**2022-04-19C++?**\n\n今天参加了百度的实习生笔试，然后算法题我用的是Go语言，其中第2、3题都遇到了**超时**的问题，第2题通过添加`break`语句，成功解决。而第3题，通过测试90%，但是依然超时，绞尽脑汁，在本地和OJ反复调试了很多遍，还是没能够找出超时的原因😂。情急之下，无奈的将代码迅速用C++改写，提交，通过测试85%。\n\n晚上在QQ群和大佬们交流后才发现：牛客OJ对Go不友好，很容易产生超时问题，建议C++。\n\n于是乎，下定决心，C++得捡起来啦!加油💪\n\n**更新日志**\n\n- 2022-04-25 update C++：使用Go语言在ACM模式下刷题真是一言难尽，好多时间用来处理输入输出，而且效率也很低。主要是我太菜了😂，C++学起来。💪\n\n- 2022-05-19 携程笔试居然被剃光头了，这，真是绝了。Go语言处理C++中的long long int真是一言难尽。使用int64代替int还是无法通过OJ测试。C++的学习需要加快进度呀\n- 2023-07-18 即使参加工作了，也要挤出时间来刷题。**日拱一卒，功不唐捐！**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuancf1024%2Falgorithm-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuancf1024%2Falgorithm-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuancf1024%2Falgorithm-go/lists"}