Data Structures & Algorithms in C++
Goodrich, Tamassia, Mount and Goldwasser
Loading...
Searching...
No Matches
Namespaces | Functions
factorial.h File Reference
#include <stdexcept>
Include dependency graph for factorial.h:

Namespaces

namespace  dsac
 Code from the zyBook "Data Structures and Algorithms in C++" by Goodrich/Tamassia/Mount/Goldwasser.
 
namespace  dsac::recursion
 Code from the chapter "Recursion".
 

Functions

long dsac::recursion::factorial (int n)
 Computes the factorial of the given (nonnegative) integer)