{"id":16586254,"url":"https://github.com/rishabh672003/hash-table-in-cpp","last_synced_at":"2025-08-19T09:14:06.730Z","repository":{"id":212794678,"uuid":"732330099","full_name":"Rishabh672003/Hash-Table-in-CPP","owner":"Rishabh672003","description":"A very simple hash table implementation in CPP","archived":false,"fork":false,"pushed_at":"2024-01-01T07:34:56.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T07:54:29.416Z","etag":null,"topics":["cmake","cpp","cpp20","data-structures","hash","hash-table","hashing"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rishabh672003.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":"2023-12-16T10:14:26.000Z","updated_at":"2023-12-23T14:26:27.000Z","dependencies_parsed_at":"2023-12-16T11:44:25.670Z","dependency_job_id":"a80d956f-c6c2-451d-9a73-968406ff6864","html_url":"https://github.com/Rishabh672003/Hash-Table-in-CPP","commit_stats":null,"previous_names":["rishabh672003/hash-table-in-cpp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rishabh672003/Hash-Table-in-CPP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishabh672003%2FHash-Table-in-CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishabh672003%2FHash-Table-in-CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishabh672003%2FHash-Table-in-CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishabh672003%2FHash-Table-in-CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rishabh672003","download_url":"https://codeload.github.com/Rishabh672003/Hash-Table-in-CPP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishabh672003%2FHash-Table-in-CPP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271128980,"owners_count":24703879,"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-08-19T02:00:09.176Z","response_time":63,"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":["cmake","cpp","cpp20","data-structures","hash","hash-table","hashing"],"created_at":"2024-10-11T22:50:57.846Z","updated_at":"2025-08-19T09:14:06.704Z","avatar_url":"https://github.com/Rishabh672003.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hash-Table-in-CPP\n\nA very simple hash table implementation in CPP,\n\n## Very simple API\n\n```cpp\nht_hash_table hash_table;\nhash_table.insert(\"hello\", \"world\");\nhash_table.insert(\"hi\", \"Rishabh\");\nprint(\"{}\\n\", hash_table.search(\"hi\"));\nhash_table.remove(\"hi\");\n```\n\nWritten in modern CPP so no memory leaks, checked using Valgrind\n![image](https://github.com/Rishabh672003/Hash-Table-in-CPP/assets/53911515/306b7c0c-2dcb-4f17-abf0-9beae48aab9b)\n\n## Credit\n\nI wrote this while following [How to write a Hash Table](https://github.com/jamesroutley/write-a-hash-table).\nit was written in C so for learning purpose I converted it to CPP, logic is same but i have changed the implementation\nto an OOPS one, with classes and other modern CPP features like using standard string and others\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabh672003%2Fhash-table-in-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishabh672003%2Fhash-table-in-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabh672003%2Fhash-table-in-cpp/lists"}