Deviopath › Swift

Remove Consecutive Duplicates

Medium · Collections

[1,1,2,2,3] → [1,2,3]. Write compact(_:).

Next: HTTP Status Class