manrajgrover / algorithms-js

Consumable Data Structures and Algorithms library in JavaScript
MIT License
198 stars 129 forks source link

Added Functions: Naive Search, Is Prime, Sum All #140

Closed chs-mix closed 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