Question 1/12: Which of these statements are true?
Hint: If you're not sure, try looking at or running your code. Click to show.
Weak references must be unwrapped before use; unowned references can be used directly.
isEmptyis faster than
count == 0
isEmpty can return false as soon as it knows at least one item exists, where
count == 0 has to count all the letters in a string.
Oops – that's not correct.
Link copied to your pasteboard.