1.0.6 • Published 2 years ago

ottoyd v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

NPM OTTOYD

Contributors Forks

Description

Welcome Onboard fellow Developer, This is where you will find NodeJS scripts where you are free to contribute too. You can Contribute by giving your scripts written in NodeJS and you think are amazing for other people to see.

Contribution Guidelines

The contribution guidelines are as per the guide HERE.

Instructions

  • Fork this Repository
  • Clone your forked repository
  • Add your scripts
  • Commit & Push
  • Create a pull request
  • Star this repository
  • Wait for Pull Request to merge
  • Celebrate, your first step into the open Source World and contribute more

Note: When you Add a project Add it to the README for ease of finding it

Note: Please do not put the project link to reference your local forked repo. Always link it to this repo after it's been merged with main.

Function

SNProjectAuthor
1Unique ArrayOttoyd
2Linear SearchOttoyd
3Binary SearchOttoyd
4Selection SortOttoyd
5Dictionary SortOttoyd
6Compact MomentOttoyd

1. Unique Array Usage

console.log('==== tydUnique ====')
require("./index").tydUnique();
const tydUnique = [ 1,1,1,1,2];
console.log(tydUnique.unique());

2. Linear Search Usage

console.log('==== tydLinearSearch ====')
require("./index").tydLinearSearch();
const tydLinearSearch = [1,2,3,4,5,1];
console.log(tydLinearSearch.linearSearch(1));

3. Binary Search Usage

console.log('==== tydBinarySearch ====')
require("./index").tydBinarySearch();
const tydBinarySearch = [1,2,3,4,5,1];
console.log(tydBinarySearch.binarySearch(99));

4. Selection Sort Usage

console.log('==== tydDictionarySort ====')
require("./index").tydDictionarySort();
const tydDictionarySort = [ 'AERYYXXXZZZZZ', 'BENNY', 'J', 'JONJI' ];
console.log(tydDictionarySort.dictionarySort());

5. Dictionary Sort Usage

console.log('==== tydSelectionSort ====')
require("./index").tydSelectionSort();
const tydSelectionSort = [ 'AERYYXXXZZZZZ', 'BENNY', 'J', 'JONJI' ];
console.log(tydSelectionSort.selectionSort());
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago