/algorithm

Practising coding with exercises from hackerrank, codeforce, leetcode, ...

Primary LanguageJavaScript

Algorithm

CLI

Set up boilerplate to solve problem. To use CLI, follow below steps

cd bin/
npm link

Usage

al new [name] [arguments]

Example 1: without arguments

al new print-abc

output

var printAbc = function() {};

Example 2: with arguments

al new path-sum node sum

output

var pathSum = function (node, sum) {};