https://github.com/alflix/leetcode-swift
https://github.com/alflix/leetcode-swift
leetcode swift
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alflix/leetcode-swift
- Owner: alflix
- Created: 2019-01-07T14:58:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-15T15:20:11.000Z (over 5 years ago)
- Last Synced: 2025-03-23T06:41:25.697Z (3 months ago)
- Topics: leetcode, swift
- Language: Swift
- Size: 3.14 MB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## LeetCode-Swift
### Easy 😏
#### [01. 两数之和](https://github.com/alflix/leetcode-swift/tree/master/01-twoSum)
#### [07. 整数反转](https://github.com/alflix/leetcode-swift/tree/master/07-reverseInterger)
#### [09. 回文数](https://github.com/alflix/leetcode-swift/tree/master/09-isPalindrome)
#### [13. 罗马数字转整数](https://github.com/alflix/leetcode-swift/tree/master/13-romanToInt)
#### [14. 最长公共前缀](https://github.com/alflix/leetcode-swift/tree/master/14-longestCommonPrefix)
#### [20. 有效的括号](https://github.com/alflix/leetcode-swift/tree/master/20-validParentheses)
#### [21. 合并两个有序链表](https://github.com/alflix/leetcode-swift/tree/master/21-mergeTwoLists)
#### [26. 删除排序数组中的重复项](https://github.com/alflix/leetcode-swift/tree/master/26-removeDuplicates)
#### [27. 移除元素](https://github.com/alflix/leetcode-swift/tree/master/27-removeElement)
#### [28. 实现strStr()](https://github.com/alflix/leetcode-swift/tree/master/28-strStr)
#### [35. 搜索插入位置](https://github.com/alflix/leetcode-swift/tree/master/35-searchInsert)
#### [38. 报数](https://github.com/alflix/leetcode-swift/tree/master/38-countAndSay)
#### [53. 最大子序列和](https://github.com/alflix/leetcode-swift/tree/master/53-maxSubArray)
#### [58. 最后一个单词的长度](https://github.com/alflix/leetcode-swift/tree/master/58-lengthOfLastWord)
#### [66. 加一](https://github.com/alflix/leetcode-swift/tree/master/66-plusOne)
#### [67. 二进制求和](https://github.com/alflix/leetcode-swift/tree/master/67-addBinary)
#### [69. x 的平方根](https://github.com/alflix/leetcode-swift/tree/master/69-mySqrt)
#### [70. 爬楼梯](https://github.com/alflix/leetcode-swift/tree/master/70-climbStairs)
#### [83. 删除排序链表中的重复元素](https://github.com/alflix/leetcode-swift/tree/master/83-deleteDuplicates)
#### [88. 合并两个有序数组](https://github.com/alflix/leetcode-swift/tree/master/88-merge-sorted-array)
#### [100. 相同的树](https://github.com/alflix/leetcode-swift/tree/master/100-isSameTree)
#### [101. 对称二叉树](https://github.com/alflix/leetcode-swift/tree/master/101-isSymmetric)
#### [104. 二叉树的最大深度](https://github.com/alflix/leetcode-swift/tree/master/104-maxDepth)
#### [107. 二叉树的层次遍历 II](https://github.com/alflix/leetcode-swift/tree/master/107-levelOrderBottom)
#### [108. 将有序数组转换为二叉搜索树](https://github.com/alflix/leetcode-swift/tree/master/108-sortedArrayToBST)
#### [110. 平衡二叉树](https://github.com/alflix/leetcode-swift/tree/master/110-isBalanced)
#### [111. 二叉树的最小深度](https://github.com/alflix/leetcode-swift/tree/master/111-minDepth)
#### [112. 路径总和](https://github.com/alflix/leetcode-swift/tree/master/112-path-sum)
#### [118. 杨辉三角](https://github.com/alflix/leetcode-swift/tree/master/118-pascals-triangle)
#### [121. 买卖股票的最佳时机](https://github.com/alflix/leetcode-swift/tree/master/121-maxProfit)
#### [122. 买卖股票的最佳时机 II](https://github.com/alflix/leetcode-swift/tree/master/122-best-time-to-buy-and-sell-stock-ii)
#### [125. 验证回文串](https://github.com/alflix/leetcode-swift/tree/master/125-valid-palindrome)
#### [136. 只出现一次的数字](https://github.com/alflix/leetcode-swift/tree/master/136-singleNumber)
#### [141. 环形链表](https://github.com/alflix/leetcode-swift/tree/master/141-hasCycle)
#### [155. 最小栈](https://github.com/alflix/leetcode-swift/tree/master/155-MinStack)
#### [169. 求众数](https://github.com/alflix/leetcode-swift/tree/master/169-majority-element)
#### [171. Excel表列序号](https://github.com/alflix/leetcode-swift/tree/master/171-excel-sheet-column-number)
#### [172. 阶乘后的零](https://github.com/alflix/leetcode-swift/tree/master/172-factorial-trailing-zeroes)
#### [189. 旋转数组](https://github.com/alflix/leetcode-swift/tree/master/189-rotate-array)
#### [198. 动态规划](https://github.com/alflix/leetcode-swift/tree/master/198-house-robber)
#### [225. 用队列实现栈](https://github.com/alflix/leetcode-swift/tree/master/225-MyStack)
### Medium 🤔
#### [02. 两数相加](https://github.com/alflix/leetcode-swift/tree/master/02-addTwoNumbers)
#### [03. 无重复字符的最长子串](https://github.com/alflix/leetcode-swift/tree/master/03-lengthOfLongestSubstring)
### Hard 😑
#### [04. 寻找两个有序数组的中位数](https://github.com/alflix/leetcode-swift/tree/master/04-findMedianSortedArrays)