{"id":15047223,"url":"https://github.com/tjensen42/42-ft_containers","last_synced_at":"2026-04-09T10:48:59.370Z","repository":{"id":113618633,"uuid":"527937340","full_name":"tjensen42/42-ft_containers","owner":"tjensen42","description":"In this 42 core curriculum project, I implemented a few container (vector, stack, map, set) of the C++ standard template library.","archived":false,"fork":false,"pushed_at":"2022-10-10T11:35:02.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T15:31:13.513Z","etag":null,"topics":["cpp","cpp98","map","stack","stl-containers","vector"],"latest_commit_sha":null,"homepage":"","language":"C++","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/tjensen42.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":"2022-08-23T10:21:21.000Z","updated_at":"2023-02-23T10:10:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"573cc303-b004-48e3-99dc-4e90cda9021d","html_url":"https://github.com/tjensen42/42-ft_containers","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/tjensen42%2F42-ft_containers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjensen42%2F42-ft_containers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjensen42%2F42-ft_containers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjensen42%2F42-ft_containers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tjensen42","download_url":"https://codeload.github.com/tjensen42/42-ft_containers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243473502,"owners_count":20296563,"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":["cpp","cpp98","map","stack","stl-containers","vector"],"created_at":"2024-09-24T20:55:15.699Z","updated_at":"2025-12-29T10:44:13.657Z","avatar_url":"https://github.com/tjensen42.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 42-ft_containers\n\n## Resources\n\n1. https://cplusplus.com/reference/stl/\n2. https://github.com/gcc-mirror/gcc/tree/master/libstdc%2B%2B-v3/include/bits\n3. https://github.com/llvm-mirror/libcxx/tree/master/include\n\n- https://en.cppreference.com/w/cpp/types/enable_if\n- https://eli.thegreenplace.net/2014/sfinae-and-enable_if/\n\n\n## Red–black tree\n* https://edutechlearners.com/download/Introduction_to_algorithms-3rd%20Edition.pdf\n* https://algorithmtutor.com/Data-Structures/Tree/Red-Black-Trees/\n* https://www.youtube.com/watch?v=qvZGUFHWChY\u0026list=PLwyTr3n29dXRDviK2r4fcF_9lr8pL1tlr\n* specific type of balanced binary search trees\n\n**Rules:**\n* a node is either red or black\n* root and leaves (NIL) are black\n* if a node is red, its children are black\n* all paths from a node to its NIL descendants contain the same number of black nodes\n\n- longest path is no more than twice the length of the shortest path\n    - shortest: all black nodes\n    - longest: alternating red and black\n\n**Operations:**\n- all operations have a time complexity of O(log n)\n* Search\n* Insert, require rotation\n* Remove, require rotation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjensen42%2F42-ft_containers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftjensen42%2F42-ft_containers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjensen42%2F42-ft_containers/lists"}