{"id":23241786,"url":"https://github.com/ramonfsk/data-structures-and-algorithms-swift","last_synced_at":"2025-07-10T16:05:55.623Z","repository":{"id":246443548,"uuid":"821147276","full_name":"ramonfsk/data-structures-and-algorithms-swift","owner":"ramonfsk","description":"This repository contains my implementations and studies of various data structures and algorithms using Swift, organized in Xcode Playgrounds.","archived":false,"fork":false,"pushed_at":"2024-06-27T23:29:55.000Z","size":282,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T22:41:32.227Z","etag":null,"topics":["data-structures-and-algorithms","self-study","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/ramonfsk.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-06-27T23:11:19.000Z","updated_at":"2024-06-27T23:29:58.000Z","dependencies_parsed_at":"2024-06-28T01:26:44.093Z","dependency_job_id":"bdb33e4f-7298-4119-aca0-2502f2bb5833","html_url":"https://github.com/ramonfsk/data-structures-and-algorithms-swift","commit_stats":null,"previous_names":["ramonfsk/data-structures-and-algorithms-swift"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ramonfsk/data-structures-and-algorithms-swift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonfsk%2Fdata-structures-and-algorithms-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonfsk%2Fdata-structures-and-algorithms-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonfsk%2Fdata-structures-and-algorithms-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonfsk%2Fdata-structures-and-algorithms-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ramonfsk","download_url":"https://codeload.github.com/ramonfsk/data-structures-and-algorithms-swift/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonfsk%2Fdata-structures-and-algorithms-swift/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264604753,"owners_count":23635930,"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":["data-structures-and-algorithms","self-study","swift"],"created_at":"2024-12-19T05:18:32.556Z","updated_at":"2025-07-10T16:05:55.340Z","avatar_url":"https://github.com/ramonfsk.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DSA in Swift\n\nWelcome to my Data Structures and Algorithms (DSA) studies repository! This repository contains my implementations and studies of various data structures and algorithms using Swift, organized in Xcode Playgrounds.\n\n## Table of Contents\n\n- [DSA in Swift](#dsa-in-swift)\n  - [Table of Contents](#table-of-contents)\n  - [About](#about)\n  - [Data Structures](#data-structures)\n  - [Algorithms](#algorithms)\n  - [Examples](#examples)\n  - [Contributing](#contributing)\n  - [Contact](#contact)\n\n## About\n\nThis repository is a collection of my implementations and experiments with various data structures and algorithms in Swift. It is organized using Xcode Playgrounds, making it interactive and easy to test and modify.\n\n## Data Structures\n\nThe following data structures are implemented in this repository:\n\n- Arrays\n- Linked Lists\n- Stacks\n- Queues\n- Trees\n- Graphs\n- Hash Tables\n- Heaps\n\n## Algorithms\n\nThe following algorithms are implemented in this repository:\n\nSorting Algorithms\n  - Bubble Sort\n  - Insertion Sort\n  - Selection Sort\n  - Merge Sort\n  - Quick Sort\n\nSearching Algorithms\n  - Linear Search\n  - Binary Search\n  - Graph Algorithms:\n  - Depth-First Search (DFS)\n  - Breadth-First Search (BFS)\n\nDynamic Programming\n  - Fibonacci Sequence\n  - Longest Common Subsequence\n  - Other Algorithms:\n  - Dijkstra's Shortest Path\n  - Knuth-Morris-Pratt (KMP) String Matching\n\n## Examples\n\nHere are some example usages of the data structures and algorithms:\n\n```swift\n// Example of Binary Search\nlet array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\nif let index = binarySearch(array, target: 5) {\n    print(\"Element found at index \\(index)\")\n} else {\n    print(\"Element not found\")\n}\n\n// Example of Merge Sort\nlet unsortedArray = [3, 6, 1, 8, 4, 5]\nlet sortedArray = mergeSort(unsortedArray)\nprint(\"Sorted Array: \\(sortedArray)\")\n```\n\n## Contributing\n\nContributions are welcome! If you have any improvements, bug fixes, or new algorithms and data structures to add, feel free to open a pull request.\n\n1. Fork the repository\n2. Create a new branch (git checkout -b feature-branch)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin feature-branch)\n5. Open a Pull Request\n\n## Contact\n\nIf you have any questions or suggestions, feel free to contact me:\n\n- Email: ramonfsk@gmail.com\n- GitHub: ramonfsk\n\nThank you for visiting my DSA studies repository!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framonfsk%2Fdata-structures-and-algorithms-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framonfsk%2Fdata-structures-and-algorithms-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framonfsk%2Fdata-structures-and-algorithms-swift/lists"}