Skip to content

Opening book details…

About this document

Code Snippets for Data Structures and Functions by Богдан Ганжа-Пупышев is a document available to read on EtoBox.

The document contains 3 parts. Part 1 lists numbers and strings. Part 2 defines two classes - one for reversing an array and one for a simple stack data structure with push, pop and peek methods. It includes methods to check if the stack is full or empty. Part 3 defines a recursive Factorial function that returns 1 if the input is 0, otherwise it multiplies the input by the factorial of the previous number.

Author
Богдан Ганжа-Пупышев
Language
EN