{"id":23858462,"url":"https://github.com/unstablebrainiac/leetcode","last_synced_at":"2025-09-04T16:43:01.611Z","repository":{"id":38837231,"uuid":"492309385","full_name":"unstablebrainiac/LeetCode","owner":"unstablebrainiac","description":"Solutions to LeetCode problems","archived":false,"fork":false,"pushed_at":"2024-09-26T05:18:45.000Z","size":653,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T10:37:04.634Z","etag":null,"topics":["hacktoberfest","java","leetcode"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unstablebrainiac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LicenseKeyFormatting.java","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":"2022-05-14T19:38:35.000Z","updated_at":"2024-09-26T05:18:50.000Z","dependencies_parsed_at":"2023-02-18T22:00:45.494Z","dependency_job_id":"c2c25d6a-1b21-49d4-9f5a-d4a1c6f11e4b","html_url":"https://github.com/unstablebrainiac/LeetCode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unstablebrainiac/LeetCode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unstablebrainiac%2FLeetCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unstablebrainiac%2FLeetCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unstablebrainiac%2FLeetCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unstablebrainiac%2FLeetCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unstablebrainiac","download_url":"https://codeload.github.com/unstablebrainiac/LeetCode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unstablebrainiac%2FLeetCode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273641053,"owners_count":25142241,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["hacktoberfest","java","leetcode"],"created_at":"2025-01-03T03:15:36.963Z","updated_at":"2025-09-04T16:43:01.561Z","avatar_url":"https://github.com/unstablebrainiac.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LeetCode\n\nThis repository contains my solutions of problems on [leetcode.com](leetcode.com).\n\n### Project Structure\n\nThe classes in the root directory are the ones solved in the order that they are listed on the website.\nThe classes in dailychallenges and contest directories are self-explanatory.\n\n### File Structure\n\nThe class level javadoc has a link to the problem on the leetcode website.\n\nThe class name is derived by converting the problem name to PascalCase, removing any special characters and/or descriptions, and converting roman numerals to arabic.\nFor example, `Two Sum II - Input Array Is Sorted` becomes `TwoSum2` and `Pow(x, n)` becomes `PowXN`.\n\nFor some problems, an external helper class is required such as `ListNode` or `NestedInteger`.\nSuch models are implemented as inner classes if they are specific to the problem at hand, or moved to a public class in the common package if reusable across problems.\n\nAll classes also have a main method with a test case to run locally and test the functionality.\n\n### Time vs Space vs Readability\n\nIn general, if the problem is trivial, preference is given to readability and concision.\nA lot of easy problems are solved in one line, thanks to Java Streams.\n\nFor medium and hard problems, and for TLEs on easy problems, time is preferred over space, unless Space Limit is exceeded, which is rare.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funstablebrainiac%2Fleetcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funstablebrainiac%2Fleetcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funstablebrainiac%2Fleetcode/lists"}