An open API service indexing awesome lists of open source software.

https://github.com/davidnguyen11/algorithm

Practising coding with exercises from hackerrank, codeforce, leetcode, ...
https://github.com/davidnguyen11/algorithm

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Algorithm

## CLI

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

```bash
cd bin/
```

```bash
npm link
```

### Usage

```bash
al new [name] [arguments]
```

**Example 1: without arguments**

```al
al new print-abc
```

*output*

```js
var printAbc = function() {};
```

**Example 2: with arguments**

```al
al new path-sum node sum
```

*output*

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