Skip to content

pewebapps/console-finances

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Challenge 4 - Console Finances

This is challange 4 of the bootcamp.

You will need to inspect the console to see the output for this challenge.

Solution 1

In solution 1 for this challenge, each calculation that required a for loop is done within its own method. This solution is more readable. However it has a big O notation of O(4n). This solution has been commented out.

Solution 2

In solution 2, all the calculations are done via the same for loop. This reduces readability but increases efficiency so that it has a big O notation of O(n).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published