{"id":50777025,"url":"https://github.com/gitmahin/time-complexity-reference","last_synced_at":"2026-06-12T00:30:38.249Z","repository":{"id":354009328,"uuid":"1221768088","full_name":"gitmahin/time-complexity-reference","owner":"gitmahin","description":"Provides a quick lookup for the time complexity of built-in data structure methods across multiple programming languages - useful for code reviews, and writing performant code.","archived":false,"fork":false,"pushed_at":"2026-05-23T10:58:42.000Z","size":244,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T12:26:01.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://time-complexity-reference.vercel.app","language":"TypeScript","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/gitmahin.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-26T16:53:14.000Z","updated_at":"2026-05-23T10:58:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gitmahin/time-complexity-reference","commit_stats":null,"previous_names":["gitmahin/time-complexity-reference"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gitmahin/time-complexity-reference","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitmahin%2Ftime-complexity-reference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitmahin%2Ftime-complexity-reference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitmahin%2Ftime-complexity-reference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitmahin%2Ftime-complexity-reference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitmahin","download_url":"https://codeload.github.com/gitmahin/time-complexity-reference/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitmahin%2Ftime-complexity-reference/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34224103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":[],"created_at":"2026-06-12T00:30:33.421Z","updated_at":"2026-06-12T00:30:38.162Z","avatar_url":"https://github.com/gitmahin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Time Complexity Reference\n\nA clean, fast reference guide for the time complexity of built-in methods across popular programming languages.\n\n## Overview\n\nThis site provides a quick lookup for the time complexity of built-in data structure methods across multiple programming languages - useful for code reviews, and writing performant code.\n\n## Languages Covered\n\n- [JavaScript / Node.js](https://time-complexity-reference.vercel.app/nodejs)\n- [Python](https://time-complexity-reference.vercel.app/python)\n- [Java](https://time-complexity-reference.vercel.app/java)\n- [C++](https://time-complexity-reference.vercel.app/cpp)\n- [C](https://time-complexity-reference.vercel.app/c)\n- [C#](https://time-complexity-reference.vercel.app/csharp)\n- [Rust](https://time-complexity-reference.vercel.app/rust)\n\n## Features\n\n- Per-language breakdown of data structure methods\n- Color-coded complexity badges (O(1), O(n), O(log n), O(n log n), O(n²))\n- Filterable by data structure (Array, Map, Set, Object, etc.)\n- Syntax-highlighted code blocks\n\n## Stack\n\n- [Next.js](https://nextjs.org/) - App Router\n- [MDX](https://mdxjs.com/) - Content via `next-mdx-remote`\n- [Tailwind CSS](https://tailwindcss.com/) - Styling\n- [shadcn/ui](https://ui.shadcn.com/) - UI components\n- [Shiki](https://shiki.style/) - Code highlighting\n\n## Contributing\n\n```bash\ngit clone https://github.com/gitmahin/time-complexity-reference.git\ncd time-complexity\nnpm install\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) in your browser.\n\n### Want to add a language or fix a complexity entry? PRs are welcome.\n\n1. Add your language data in `src/constants/data.constant.ts`\n2. Create the corresponding MDX file in `src/content/`\n3. Add the language to `listOfProgrammingLanguagesWithLinks` -\u003e `src/constants/sidebar.constant.ts`\n4. Open a pull request","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitmahin%2Ftime-complexity-reference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitmahin%2Ftime-complexity-reference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitmahin%2Ftime-complexity-reference/lists"}