Why are the elements in the STL set (and map) kept sorted?

What will be an ideal response?


For efficiency of access to the element, and the efficiency of certain member functions.

Computer Science & Information Technology

You might also like to view...

A Web site that spreads a virus is called a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

An advance-fee fraud attack involves the interception of cryptographic elements to determine keys and encryption algorithms.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Once a hyperlink is created, it cannot be edited.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

What is the purpose of item A in the accompanying figure?

A. To create a new layer B. To create a new folder C. To delete the selected item D. To change the view of the Timeline

Computer Science & Information Technology