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...

A ________ chart uses lines whose height on the vertical (value) axis represents the value of the data

A) histogram B) line C) pie D) 3-D pie

Computer Science & Information Technology

____ is used to add interactive elements to Web pages.

A. C++ B. JavaScript C. PerlScript D. SQL

Computer Science & Information Technology