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

Project 2010 requires that you create your own templates.

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

Computer Science & Information Technology

By default, the ____ theme is applied to each workbook.

A. Excel B. Office C. Business D. Blank

Computer Science & Information Technology

After a Sigverif scan is complete, the results are written to a log file, called ____.

A. sigverif.dat B. sigverif.txt C. sigverif.html D. sigverif.pdf

Computer Science & Information Technology

Animation combines two concepts we experience every moment of our lives--time and _______________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology