What is a generic algorithm?

What will be an ideal response?


A generic algorithm is a template function. Those that manipulate containers take iterators for arguments. Others take arbitrary types as arguments.
Explanation: Iterators provide access to the elements in the container.

Computer Science & Information Technology

You might also like to view...

Higher ______ will result in larger file size.

A. amplitude B. frequency C. sampling rate D. bit depth E. dynamic range

Computer Science & Information Technology

What is not a common format for a number control?

A) Currency B) Percent C) Accounting D) Comma

Computer Science & Information Technology

What are four tasks or responsibilities of the Internetwork layer?

What will be an ideal response?

Computer Science & Information Technology

Discuss the importance and uses of secondary storage devices.

What will be an ideal response?

Computer Science & Information Technology