{"id":17047429,"url":"https://github.com/agauniyal/pq","last_synced_at":"2025-03-23T03:44:14.107Z","repository":{"id":98977763,"uuid":"129509812","full_name":"agauniyal/pq","owner":"agauniyal","description":"different priority queue implementations","archived":false,"fork":false,"pushed_at":"2018-04-15T06:13:56.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T10:24:01.283Z","etag":null,"topics":["cpp","cpp17","priority-queue"],"latest_commit_sha":null,"homepage":null,"language":"C++","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/agauniyal.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":"2018-04-14T11:14:08.000Z","updated_at":"2018-04-18T09:06:57.000Z","dependencies_parsed_at":"2023-04-12T04:48:06.176Z","dependency_job_id":null,"html_url":"https://github.com/agauniyal/pq","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/agauniyal%2Fpq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agauniyal%2Fpq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agauniyal%2Fpq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agauniyal%2Fpq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agauniyal","download_url":"https://codeload.github.com/agauniyal/pq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052651,"owners_count":20553163,"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","cpp17","priority-queue"],"created_at":"2024-10-14T09:49:27.354Z","updated_at":"2025-03-23T03:44:14.082Z","avatar_url":"https://github.com/agauniyal.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pq\n\nDifferent priority queue implementations\n\n```cpp\n#include \"include/manual_heap-pq.hpp\"\n#include \u003ciostream\u003e\n\nint main()\n{\n    PQ\u003cint\u003e q;\n    q.push({ 10, 100, 20, 30, 5, 1 });\n    try {\n        std::cout \u003c\u003c q.pop().value() \u003c\u003c '\\n'\n                  \u003c\u003c q.pop().value() \u003c\u003c '\\n'\n                  \u003c\u003c q.pop().value() \u003c\u003c '\\n'\n                  \u003c\u003c q.pop().value() \u003c\u003c '\\n'\n                  \u003c\u003c q.pop().value() \u003c\u003c '\\n'\n                  \u003c\u003c q.pop().value() \u003c\u003c '\\n'\n                  \u003c\u003c q.pop().value() \u003c\u003c '\\n';\n    } catch (std::bad_optional_access \u0026e) {\n        std::cout \u003c\u003c \"Intentional bad access after 6 elements!\\n\";\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagauniyal%2Fpq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagauniyal%2Fpq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagauniyal%2Fpq/lists"}