1.0.8 • Published 3 years ago
project_for_class_noa v1.0.8
Get iterative binary search, bubble sort and a
combination of both.
Installing/ Getting started:
Minimal setup you need to get started:
$npm install project_for_class_noa
Usage:
const functions = require('project_for_class_noa');
Methods | Description |
---|---|
functions.search(sorted_array,target) | returns true/false if the target in the array. |
functions.sort(unsorted_array) | bubble sorts the array. |
functions.sort_and_search(unsorted_array, target) | sort given array and finds target if exists. |