Swift HackerRank Submissions
This is a collection of some of my Hacker Rank submissions written in Swift
To allow these to work in XCode 9 playgrounds I have done the following:
- Updated to Swift 4.1
readLine()
has been mocked
- Bit Manipulation - Lonely Integer
- Bit Manipulation - Sum vs XOR
- The Maximum Subarray
- Game of Stones
- Tower Breakers
- SockMerchant
- Designer PDF Viewer
- Equalize the Array
- Grading
- Matrix Layer Rotation
- Insertion Sort - Part 1
- Quicksort 1 - Partition
- Quicksort 2 - Sorting
- Quicksort In-Place
- Insertion Sort - Advanced Analysis (Problem, same as my passing python algorithm but not the same result!)
- Closest Numbers
- Counting Sort 3
- The Full Counting Sort
- CamelCase.
- Gemstones
- Palindrome Index
- Super Reduced String
- Two Characters
- Beautiful Binary String
- Anagram
- Making Anagrams
- Game of Thrones - I
- Two Strings
- Sherlock and Valid String
- Sherlock and Anagrams
- HackerRank in a String!
- Simple Array Sum
- Circular Array Rotation
- Time Conversion
- Arrays - DS
- Ice Cream parlor
- Solve me first
- Security Functions
- Security Functions II
- Security Bijective Functions
- Security Inverse Functions
- Security Permutations
- Security Involution
- Day 9: Recursion
- Day 20: Sorting
- Day 25: Running Time and Complexity
- Day 29: Bitwise AND
Kemal Enver (@kemalenver)