{"id":19218998,"url":"https://github.com/jovins/algorithm","last_synced_at":"2025-10-28T00:16:45.167Z","repository":{"id":118965612,"uuid":"187835623","full_name":"Jovins/Algorithm","owner":"Jovins","description":"Record daily training algorithms and data structures by Swift","archived":false,"fork":false,"pushed_at":"2019-06-08T07:59:42.000Z","size":246,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T05:02:16.992Z","etag":null,"topics":["algorithm","leetcode","structure","swift"],"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/Jovins.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":"2019-05-21T12:45:53.000Z","updated_at":"2021-08-13T18:30:47.000Z","dependencies_parsed_at":"2023-03-29T03:48:35.671Z","dependency_job_id":null,"html_url":"https://github.com/Jovins/Algorithm","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/Jovins%2FAlgorithm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jovins%2FAlgorithm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jovins%2FAlgorithm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jovins%2FAlgorithm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jovins","download_url":"https://codeload.github.com/Jovins/Algorithm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249958726,"owners_count":21351707,"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":["algorithm","leetcode","structure","swift"],"created_at":"2024-11-09T14:29:04.933Z","updated_at":"2025-10-28T00:16:40.135Z","avatar_url":"https://github.com/Jovins.png","language":"Swift","readme":"# Algorithm By Swift\n\n![Algorithm](./logo.png?style=centerme)\n\nRecord daily training algorithms and data structures by Swift. If you like them, then give me a star❤️, thanks!\n\n## Data Structures\n\n+ [数组 Array](\u003chttp://jovins.cn/source/algorithm/\u003e)\n+ [字典 Dictionary](\u003chttp://jovins.cn/source/algorithm/\u003e)\n+ [集合 Collection](\u003chttp://jovins.cn/source/algorithm/\u003e)\n+ [字符串 String](\u003chttp://jovins.cn/source/algorithm/\u003e)\n+ [链表 Link](\u003chttp://jovins.cn/source/algorithm/Linked-list.html\u003e)\n+ [栈 Stack](\u003chttp://jovins.cn/source/algorithm/Swift-Stack-Queue.html\u003e)\n+ [队列 Queue](\u003chttp://jovins.cn/source/algorithm/Swift-Stack-Queue.html\u003e)\n+ [二叉树 Tree](\u003chttp://jovins.cn/source/algorithm/Swift-Tree.html\u003e)\n+ [排序 Sort](\u003chttp://jovins.cn/source/algorithm/Swift-Sort.html\u003e)\n+ [搜索 Search](\u003chttp://jovins.cn/source/algorithm/Swift-Search.html\u003e)\n+ [动态规划 Dynamic](\u003chttp://jovins.cn/source/algorithm/Swift-Dynamic-Program.html\u003e)\n+ [贪心算法 Greedy](\u003chttp://jovins.cn/source/algorithm/Swift-Greedy.html\u003e)\n\n## Algorithm\n\n+ [两数之和 Two Sum](\u003chttp://jovins.cn/source/algorithm/Swift-TwoSum.html\u003e)\n+ [两数相加 Add Two Number](\u003chttp://jovins.cn/source/algorithm/2-AddTwoNumbers.html\u003e)\n+ [无重复字符的最长子串 LengthOfLongestSubstring](\u003chttp://jovins.cn/source/algorithm/3-LongestSubstring.html\u003e)\n+ [寻找两个有序数组的中位数 FindMedianSortedArrays](\u003chttps://jovins.cn/source/algorithm/4-findMedianSortedArrays.html\u003e)\n+ [Z 字形变换 ZigCovert](\u003chttps://jovins.cn/source/algorithm/6-ZigCovert.html\u003e)\n+ [整数反转 ReverseInteger](\u003chttp://jovins.cn/source/algorithm/7-ReverseInteger.html\u003e)\n+ [回文数 ValidPalindrome](\u003chttps://jovins.cn/source/algorithm/9-ValidPalindrome.html\u003e)\n+ [三数之和 ThreeSum](\u003chttp://jovins.cn/source/algorithm/15-ThreeSum.html\u003e)\n+ [删除链表的倒数第N个节点 RemoveNthFromEnd](\u003chttps://jovins.cn/source/algorithm/19-RemoveNthFromEnd.html\u003e)\n+ [有效括号 Valid Parenthese](\u003chttp://jovins.cn/source/algorithm/20-Valid-Parentheses.html\u003e)\n+ [合并两个有序链表 Merge Two Lists](\u003chttp://jovins.cn/source/algorithm/21-MergeTwoSortedLists.html\u003e)\n+ [两两交换链表中的节点 Swap Pairs](\u003chttp://jovins.cn/source/algorithm/24-SwapNode.html\u003e)\n+ [删除有序数组中的重复项 Remove Duplicates](\u003chttps://jovins.cn/source/algorithm/26-RemoveDuplicates.html\u003e)\n+ [缺失数字 Miss Number](\u003chttp://jovins.cn/source/algorithm/268-Miss-Number.html\u003e)\n+ [分糖果 Distribute Candies](\u003chttp://jovins.cn/source/algorithm/575-DistributeCandies.html\u003e)\n+ [移除元素 RemoveElement](\u003chttps://jovins.cn/source/algorithm/27-RemoveElement.html\u003e)\n+ [盛最多水的容器 MaxArea](\u003chttps://jovins.cn/source/algorithm/11-MaxArea.html\u003e)\n+ [最长公共前缀 LongestCommonPrefix](\u003chttps://jovins.cn/source/algorithm/14-LongestCommonPrefix.html\u003e)\n+ [接雨水 TrapRainWater](\u003chttps://jovins.cn/source/algorithm/42-TrapRainWater.html\u003e)\n+ [搜索插入位置 SearchInsertPosition](\u003chttps://jovins.cn/source/algorithm/35-SearchInsertPosition.html\u003e)\n+ [最后一个单词的长度 LengthOfLastWord](\u003chttps://jovins.cn/source/algorithm/58-LengthOfLastWord.html\u003e)\n+ [报数 CountToSay](\u003chttps://jovins.cn/source/algorithm/38-CountToSay.html\u003e)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjovins%2Falgorithm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjovins%2Falgorithm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjovins%2Falgorithm/lists"}