Answer the following statements true (T) or false (F)
Nonmodifying sequence algorithms do not change the elements in the containers they
1. work on.
The runtime for insertion at any position into a vector is O(1). Explain what ‘runtime
2. is O(1)’ means.
Insertion into an STL list takes O(1) time at any position in the list. What does ‘
3. takes O(1) time’ mean?
4. A failing find() operation on an STL set returns a null pointer value.
STL ranges [first, last) are always ‘half-open’ – from the first element to a
5. designation for one past the last element.
1. True
2. False
3. True
4. False
5. True.
You might also like to view...
When you ________ text, you are adding text to a document
Fill in the blank(s) with correct word
If you wish to create a postcard you must choose the template from the ________ options dialog box
Fill in the blank(s) with correct word