{"id":19456197,"url":"https://github.com/juliogarciape/data-structures-and-algorithms","last_synced_at":"2026-06-10T01:31:09.609Z","repository":{"id":238424490,"uuid":"790536919","full_name":"juliogarciape/data-structures-and-algorithms","owner":"juliogarciape","description":"\u003cData Structures and Algorithms with Python /\u003e","archived":false,"fork":false,"pushed_at":"2024-05-06T05:38:11.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T10:51:58.550Z","etag":null,"topics":["algorithms","data-structures","data-structures-and-algorithms","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/juliogarciape.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":"2024-04-23T04:04:30.000Z","updated_at":"2024-09-13T01:05:11.000Z","dependencies_parsed_at":"2024-05-06T06:47:27.962Z","dependency_job_id":null,"html_url":"https://github.com/juliogarciape/data-structures-and-algorithms","commit_stats":null,"previous_names":["juliogarciape/data-structures-and-algorithms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/juliogarciape/data-structures-and-algorithms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliogarciape%2Fdata-structures-and-algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliogarciape%2Fdata-structures-and-algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliogarciape%2Fdata-structures-and-algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliogarciape%2Fdata-structures-and-algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juliogarciape","download_url":"https://codeload.github.com/juliogarciape/data-structures-and-algorithms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliogarciape%2Fdata-structures-and-algorithms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34133404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","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":["algorithms","data-structures","data-structures-and-algorithms","python","python3"],"created_at":"2024-11-10T17:16:21.286Z","updated_at":"2026-06-10T01:31:09.593Z","avatar_url":"https://github.com/juliogarciape.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Structures and Algorithms (Python)\n\n## Data Structures\n\n#### Stack:\n\n```python\n# ---- Basic Example ----\n\nmy_stack = Stack() # Initialize a stack\nprint(my_stack.is_empty())\nmy_stack.push(\"Book A\") # Add to stack\nmy_stack.push(\"Book B\")\nprint(my_stack.get_stack()) # Get the stack\nmy_stack.push(\"Book C\")\nprint(my_stack.get_stack())\nmy_stack.pop() # Remove last addition from stack\nprint(my_stack.get_stack())\nprint(my_stack.is_empty()) # Get if stack is empty\nprint(my_stack.peek()) # Get last addition from stack\n```\n\n### Use cases for stack:\n\n- Determine if the brackets are unbalanced\n- Reverse String\n- Convert Integer to Binary\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliogarciape%2Fdata-structures-and-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliogarciape%2Fdata-structures-and-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliogarciape%2Fdata-structures-and-algorithms/lists"}