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

Rahul Goel
2 min readNov 6, 2019

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

Do check out Part-1 before proceeding further.

8. Duplicate zeros

“Duplicate Zeros”

9. Sort Array by Parity

“Sort Array by Parity”

10. Reshape the Matrix

“Reshape the Matrix”

11. Transpose of Matrix (May be Square or Rectangle)

“Transpose of Matrix”

12. Monotonic Array

“Monotonic Array”

13. Max Consecutive ones

“Max Consecutive ones”

14. Contains Duplicate

“Contains Duplicate”

Do check out next part Part-3 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