Daily iOS
Swift

String internals

Why can't you index a String with an integer like text[3], and why is text.count O(n)?

Submit