An open API service indexing awesome lists of open source software.

https://github.com/akhmedovgg/algods

List of LeetCode problems and their solutions in Objective-C and Swift programming languages
https://github.com/akhmedovgg/algods

algorithms leetcode leetcode-solutions objective-c problem-solving swift

Last synced: 7 months ago
JSON representation

List of LeetCode problems and their solutions in Objective-C and Swift programming languages

Awesome Lists containing this project

README

          

# LeetCode

LeetCode Algorithm
(Notes: "🔒" means you need to buy a book from Leetcode)

| # | Title | Solution | Difficulty |
| --- | --------- | ----- | ---- |
| 1 | [Two Sum](https://leetcode.com/problems/two-sum/) | [Objective-C](./LCObjective-C/LCObjective-C/Problems/TwoSum), [Swift](./LCSwift/LCSwift/Problems/TwoSum)| Easy |
| 9 | [Palindrome Number](https://leetcode.com/problems/palindrome-number/) | [Objective-C](./LCObjective-C/LCObjective-C/Problems/PalindromeNumber), [Swift](./LCSwift/LCSwift/Problems/PalindromeNumber)| Easy |
| 13 | [Roman to Integer](https://leetcode.com/problems/roman-to-integer/) | [Objective-C](./LCObjective-C/LCObjective-C/Problems/RomanToInteger), [Swift](./LCSwift/LCSwift/Problems/RomanToInteger)| Easy |
| 14 | [Longest Common Prefix](https://leetcode.com/problems/longest-common-prefix/) | [Objective-C](./LCObjective-C/LCObjective-C/Problems/LongestCommonPrefix), [Swift](./LCSwift/LCSwift/Problems/LongestCommonPrefix)| Easy |
| 20 | [Valid Parentheses](https://leetcode.com/problems/valid-parentheses/) | [Objective-C](./LCObjective-C/LCObjective-C/Problems/ValidParentheses), [Swift](./LCSwift/LCSwift/Problems/ValidParentheses)| Easy |
| 21 | [Merge Two Sorted Lists](https://leetcode.com/problems/merge-two-sorted-lists/) | [Objective-C](./LCObjective-C/LCObjective-C/Problems/MergeTwoSortedLists), [Swift](./LCSwift/LCSwift/Problems/MergeTwoSortedLists)| Easy |
| 26 | [Remove Duplicates from Sorted Array](https://leetcode.com/problems/remove-duplicates-from-sorted-array/) | [Objective-C](./LCObjective-C/LCObjective-C/Problems/RemoveDuplicatesFromSortedArray), [Swift](./LCSwift/LCSwift/Problems/RemoveDuplicatesFromSortedArray)| Easy |
| 27 | [Remove Element](https://leetcode.com/problems/remove-element/) | [Objective-C](./LCObjective-C/LCObjective-C/Problems/RemoveElement), [Swift](./LCSwift/LCSwift/Problems/RemoveElement)| Easy |
| 28 | [Find the Index of the First Occurrence in a String](https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string/) | [Objective-C](./LCObjective-C/LCObjective-C/Problems/FirstOccurrenceString), [Swift](./LCSwift/LCSwift/Problems/FirstOccurrenceString)| Easy |
| 58 | [Length of Last Word](https://leetcode.com/problems/length-of-last-word/) | [Objective-C](./LCObjective-C/LCObjective-C/Problems/LengthOfLastWord), [Swift](./LCSwift/LCSwift/Problems/LengthOfLastWord)| Easy |
| 66 | [Plus One](https://leetcode.com/problems/plus-one/) | [Swift](./LCSwift/LCSwift/Problems/PlusOne)| Easy |
| 1342 | [Number of Steps to Reduce a Number to Zero](https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero/) | [Swift](./LCSwift/LCSwift/Problems/NumberOfStepsToReduce)| Easy |