factorial

package
v0.0.0-...-a4a72b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package factorial describes algorithms Factorials calculations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Iterative

func Iterative(n int) int

Iterative returns the iteratively brute forced factorial of n

func Recursive

func Recursive(n int) int

Recursive This function recursively computes the factorial of a number

func UsingTree

func UsingTree(n int) int

UsingTree This function finds the factorial of a number using a binary tree

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL