{"id":18807016,"url":"https://github.com/zriyansh/you-dont-know-cpp-stl","last_synced_at":"2026-01-08T22:30:16.401Z","repository":{"id":122978263,"uuid":"441891800","full_name":"zriyansh/you-dont-know-cpp-STL","owner":"zriyansh","description":"Internal Implementation of C++ STL — Standard Template Library.","archived":false,"fork":false,"pushed_at":"2021-12-26T13:05:16.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T21:30:00.222Z","etag":null,"topics":["competitive-coding","competitive-programming","cpp","stl","stl-algorithms","vector"],"latest_commit_sha":null,"homepage":"https://zriyansh.medium.com/c-stl-under-the-hood-76290ca58bcb","language":null,"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/zriyansh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-26T13:00:34.000Z","updated_at":"2022-02-09T14:49:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"ffc79e56-884f-4447-a263-beb04d81dd56","html_url":"https://github.com/zriyansh/you-dont-know-cpp-STL","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/zriyansh%2Fyou-dont-know-cpp-STL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zriyansh%2Fyou-dont-know-cpp-STL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zriyansh%2Fyou-dont-know-cpp-STL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zriyansh%2Fyou-dont-know-cpp-STL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zriyansh","download_url":"https://codeload.github.com/zriyansh/you-dont-know-cpp-STL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239742417,"owners_count":19689309,"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":["competitive-coding","competitive-programming","cpp","stl","stl-algorithms","vector"],"created_at":"2024-11-07T22:50:34.731Z","updated_at":"2026-01-08T22:30:16.360Z","avatar_url":"https://github.com/zriyansh.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# you-dont-know-cpp-STL\n_Internal Implementation of C++ STL — Standard Template Library._\n\n\n[STL] | [INTERNAL IMPLEMENTATION DATA STRUCTURE]\n\n\nfor e.g — 'set' STL, has its internal implementation(what it’s coded with) using a Red-Black Tree.\n\n- **stack** — Array, List, Deque.\n- **vector** — Dynamic Array\n- **list** — Dynamic Array and Doubly Linked List\n- **pair** — defined in \u003cutility\u003e header file\n  \n  \u003cbr\u003e\n  \n- **queue** — Array, List\n- **deque** — Dynamic Array\n- **priority_queue** — Heap\n\n  \u003cbr\u003e\n  \n- **set** — Red-Black Tree\n- **multiset** — Binary Search Tree\n- **unordered set** — Hash Table\n\n  \u003cbr\u003e\n  \n- **map** — Red Black Self-Balancing BST, Hash Table,\n- **multimap** — Red Black Tree\n- **unordered map**(4x faster than the map) — Hash Table\n\n- **sort()** — uses IntroSort(a hybrid of Quicksort, Heapsort, and Insertion Sort), Faster than qsort().\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzriyansh%2Fyou-dont-know-cpp-stl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzriyansh%2Fyou-dont-know-cpp-stl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzriyansh%2Fyou-dont-know-cpp-stl/lists"}