Skip to content

kboeff/coding-challenge-6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

coding-challenge-6

Answer to each question is on separate file: Q1.js, Q2.js and Q3.js Each solution could be tested by calling a function with some input. Default test cases are left in the code.

function names

Q1 -> organize()

Q2 -> additions()
Assuming negative numbers and duplicates are valid input.
Same numbers are counted as valid pair (eg. 2+2=4).
Order of appearance is irrelevant (eg. [1,3] or [3,1], only the first to appear is added to the answer).

Q3 -> toggleHex()
Detects the type of input hex/rgb and does the conversion. Yet to be released as npm package.

The function is published as npm package: npm-togglehex
The repo is here: github.com/kboeff/npm-togglehex

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published