Skip to content

Celoka/abv-bc-slc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

abv-bc-slc

Function Getprime: Write a getPrimes function that takes an integer value n as argument and generates prime numbers from 0 to n with asymptotic analysis. The generated prime numbers should be in an array. If no prime number is obtainable for the input, return an empty array. Your logic should be as efficient as possible (with minimal iterations). Your code should also address edge cases (invalid input, negative input value, or zero as input

To Run Test

Install jasmine; $npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors