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

Rahul Goel
Nov 6 · 2 min read

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”

Follow me Rahul Goel on Medium for updates — therahulgoel

Rahul Goel

Written by

Computer Science Enthusiast | 6+ Year of Software Evolution |The Sci-fi Guy, | Space Evangelist I Love to explore ancient civilizations, mysteries.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade