Skip to content

beaglez/untangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Untangle

"Simplicity is the ultimate sophistication."

Authors:

Description: Untangle is a Node.js app solving a very simple problem - to flatten an array of integers. I've chosen this simple problem to demonstrate what I consider to be the basic capability set of a good developer:

  • 100% test coverage
  • Self-documenting code
  • DRY code
  • Code organization
  • Debug-ability
  • Packaging and deployability
  • Code management/Source control strategy

Project Setup

Please make sure to have the latest Nodejs installed (6.4+).

Setup and installation

  • Clone the repo: git clone https://github.com/beaglez/untangle
  • Don't forget to navigate to the cloned folder: cd untangle
  • Install: npm i

Source Control

Please follow Git Flow religiously!

Commands:

npm start <array> - Runs the program. eg: npm start [1,[2,3]]

npm run debug <array> - Runs the program. eg: npm run debug [1,[2,3]]

npm test - Runs unit test suite

About

Untangle (flatten) a nested array of integers

Resources

Stars

Watchers

Forks

Packages

No packages published