{"id":17963911,"url":"https://github.com/pablolion/leetcode-rs","last_synced_at":"2025-04-03T19:27:46.952Z","repository":{"id":128556316,"uuid":"520326222","full_name":"PabloLION/leetcode-rs","owner":"PabloLION","description":"my solution to leetcode with rust","archived":false,"fork":false,"pushed_at":"2022-11-09T07:01:24.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T07:36:04.581Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/PabloLION.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":"support/4.median-of-two-sorted-arrays.py","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-02T02:33:06.000Z","updated_at":"2022-08-02T03:23:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"9bb8079a-bfae-422c-bc30-6c4e1754d7ec","html_url":"https://github.com/PabloLION/leetcode-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLION%2Fleetcode-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLION%2Fleetcode-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLION%2Fleetcode-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLION%2Fleetcode-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PabloLION","download_url":"https://codeload.github.com/PabloLION/leetcode-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247064392,"owners_count":20877591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-29T11:45:50.519Z","updated_at":"2025-04-03T19:27:46.930Z","avatar_url":"https://github.com/PabloLION.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# leetcode-rs\n\nmy solution to leetcode with rust\n\n## End\n\nLeetCode doesn't support importing HashMap, HashSet, etc. These are the necessary functionalities for hard problems.\nSo I stopped at problem 30.\n\n## Problem todo\n\n- q23 is slow.\n- q28 API changed, so I didn't do it.\n- q30 is slow\n\n## Essence\n\n- if not specified, should get clear if every X appears at least / at most once.\n\n## Rust\n\n`String::match_indices` said `disjoint`\n\n## What does it give?\n\n- Solution to LeetCode problems.\n- Simple complexity analyses.\n- Convert files VSCE leetcode to meet Rust naming conventions. (`cargo run .`)\n\n## Origin of the solutions?\n\n- Most of the solution, if not specified, is generated by GitHub copilot.\n- I ([PabloLION](https://github.com/PabloLION)) try to refactor the solutions to be more readable.\n- Some `Solution` have a `fn XXX_pablo`, which is written by me myself. Sometimes there's also a `fn XXX_pablo_copilot`, which is suggested by GitHub Copilot.\n- See git blame for more details.\n\n## References\n\nFor all linked lists / node lists / list node : \u003chttps://rust-unofficial.github.io/too-many-lists/\u003e\n\n## Thoughts on LeetCode\n\n1. Focusing too much on the executing speed and memory usage rather than the readability.\n\n## Miscellaneous\n\n### How to log-in the VSCE\n\nSee GitHub:\n\n- Get header \u003chttps://github.com/LeetCode-OpenSource/vscode-leetcode/issues/478#issuecomment-560395305\u003e\n- Get cookie \u003chttps://github.com/LeetCode-OpenSource/vscode-leetcode/issues/478#issuecomment-560114580\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablolion%2Fleetcode-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablolion%2Fleetcode-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablolion%2Fleetcode-rs/lists"}