Top Array Programs For Interview: Swift 5.0 | Part -1

Rahul Goel
2 min readOct 31, 2019

Part of Quick ramp up Data Structure series to understand standard operations implemented using Swift.

  1. Remove Duplicates from Sorted Array :
“Remove duplicates from array”

2. Rotate Array clockwise by k steps :

“Rotate array by k steps ”

3. Find Single One :

“Find Single One”

4. Two Sum Problem :

“Solution 1 Two Sum Problem”
“Solution 2 Two Sum Problem”

5. Maximum Sub-array Sum :

“Max Sub-Array Sum”

6. Missing Number :

“Missing Number”

7. Majority Element :

“Majority Element”

Do check out next part Part-2 of the series.

Follow me Rahul Goel on Medium for updates — therahulgoel

--

--

Rahul Goel

Computer Science Enthusiast | 10+ Year of Software Evolution | @Sharechat, Groupon, Paytm, Myntra https://www.linkedin.com/in/therahulgoel/