{"id":15038505,"url":"https://github.com/matthewfaller/algorithm-practice","last_synced_at":"2026-04-02T02:06:37.497Z","repository":{"id":93508883,"uuid":"146138663","full_name":"matthewfaller/algorithm-practice","owner":"matthewfaller","description":"A series of practice algorithms implemented in Swift. ","archived":false,"fork":false,"pushed_at":"2018-09-23T04:58:34.000Z","size":165,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2026-01-01T02:37:43.798Z","etag":null,"topics":["algorithms","data-structures","swift","swift-language"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/matthewfaller.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-08-26T00:13:33.000Z","updated_at":"2018-09-26T23:47:17.000Z","dependencies_parsed_at":"2023-04-16T04:47:19.972Z","dependency_job_id":null,"html_url":"https://github.com/matthewfaller/algorithm-practice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matthewfaller/algorithm-practice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewfaller%2Falgorithm-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewfaller%2Falgorithm-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewfaller%2Falgorithm-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewfaller%2Falgorithm-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthewfaller","download_url":"https://codeload.github.com/matthewfaller/algorithm-practice/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewfaller%2Falgorithm-practice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"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","swift","swift-language"],"created_at":"2024-09-24T20:38:43.858Z","updated_at":"2026-04-02T02:06:37.474Z","avatar_url":"https://github.com/matthewfaller.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Algorithms \u0026 Data Structures\n\n[![Build Status](https://travis-ci.com/matthewfaller/algorithm-practice.svg?branch=develop)](https://travis-ci.com/matthewfaller/algorithm-practice)\n\n[![docs](https://img.shields.io/badge/read_the-docs-2196f3.svg)](https://matthewfaller.github.io/algorithm-practice/)\n\nProgramming practice implemented in Swift\n\n## Running The Project\n\n```bash\ngit clone https://github.com/matthewfaller/algorithm-practice\n```\n\n```bash\ncd algorithm-practice/\n```\n\n```bash\nswift test\n```\n\n### Linked List\n\nA simple implementation of a classic structure\n\n```swift\nlet list = LinkedList\u003cString\u003e()\nlist.append(\"Hello\")\nlist.append(\"World!\")\n```\n\nConforms to the `Sequence` Protocol\n\n```swift\nlet numbers: LinkedList = [1, 2, 3, 4]\n\nlet factorial = numbers.reduce(1, *)\n\nprint(factorial)\n\n24\n```\n\nUses generics\n\n```swift\nstruct User: Codable, Hashable {\n    let id: String\n    let name: String\n}\n\nlet users: LinkedList = [\n    User(id: \"1\", name: \"Emily Blunt\"), \n    User(id: \"2\", name: \"John Krasinski\") \n]\n\nusers.filter(isActor).forEach(updateUser)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewfaller%2Falgorithm-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthewfaller%2Falgorithm-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewfaller%2Falgorithm-practice/lists"}