It turns out that reversed works in O(1), it does not allocate memorry!!!!!! So maybe this is reason why it is fast
Topic:
Programming Languages
SubTopic:
Swift
Tags: