manrajgrover / algorithms-js

Consumable Data Structures and Algorithms library in JavaScript
MIT License
199 stars 128 forks source link

Added Functions: isPrime, sumAll, Naive Search #141

Open chs-mix opened 1 year ago

chs-mix commented 1 year ago

Description of new feature, or changes

Three functions were created one under the search directory (naive_search) and two under the sum directory (is_prime and sum_all). The index.js in each directory was also edited to include new functions. Three tests were also implemented for the respective functions.

Checklist

Related Issues and Discussions

People to notify