apple / swift-algorithms

Commonly used sequence and collection algorithms for Swift
Apache License 2.0
5.97k stars 443 forks source link

Create Suffix.md #82

Closed dhruvshah8 closed 3 years ago

dhruvshah8 commented 3 years ago

Guide for suffix(while: ) function

Provides example, implementation and design of suffix(while: ) function.

Taken from: https://github.com/apple/swift-algorithms/issues/80

Checklist

xwu commented 3 years ago

👍

Make sure you run a spell checker on the text to catch typos, but otherwise it reads pretty well.

natecook1000 commented 3 years ago

Looks great, @dhruvshah8 — thanks for the contribution! 🎉