{"id":22612244,"url":"https://github.com/ivanbgd/heap-data-structure","last_synced_at":"2025-10-14T19:11:34.973Z","repository":{"id":139676995,"uuid":"110451540","full_name":"ivanbgd/Heap-Data-Structure","owner":"ivanbgd","description":"The Heap data structure in Python, with the Heap Sort algorithm","archived":false,"fork":false,"pushed_at":"2017-11-12T17:22:37.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-28T23:45:53.827Z","etag":null,"topics":["heap","heap-sort","heaps","heapsort","heapsort-algorithm"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ivanbgd.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":"2017-11-12T17:03:56.000Z","updated_at":"2017-11-12T17:23:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"910fa1fd-0ec0-4679-94fd-340c75b289f4","html_url":"https://github.com/ivanbgd/Heap-Data-Structure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ivanbgd/Heap-Data-Structure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanbgd%2FHeap-Data-Structure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanbgd%2FHeap-Data-Structure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanbgd%2FHeap-Data-Structure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanbgd%2FHeap-Data-Structure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivanbgd","download_url":"https://codeload.github.com/ivanbgd/Heap-Data-Structure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanbgd%2FHeap-Data-Structure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020648,"owners_count":26086895,"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-10-14T02:00:06.444Z","response_time":60,"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":["heap","heap-sort","heaps","heapsort","heapsort-algorithm"],"created_at":"2024-12-08T17:11:31.225Z","updated_at":"2025-10-14T19:11:34.957Z","avatar_url":"https://github.com/ivanbgd.png","language":"Python","readme":"# Heap-Data-Structure\nThe Heap data structure in Python, with the Heap Sort algorithm\n\nHeaps are Complete Binary Trees.\n\nThe Complete Binary Max-Heap is implemented as an array, which is both fast and memory efficient. It's also easy to code.\n\nThere are two variants of heaps here: the one that uses 1-based indexing, and the other that uses 0-based indexing, into arrays. 1-based indexing is faster than 0-based.\n\nPartial sorting is also included in the code.\n\nPriority Queues are usually implemented as Heaps.\n\nThe code includes examples.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanbgd%2Fheap-data-structure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivanbgd%2Fheap-data-structure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanbgd%2Fheap-data-structure/lists"}