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, ...
- Host: GitHub
- URL: https://github.com/davidnguyen11/algorithm
- Owner: davidnguyen11
- Created: 2018-03-23T04:37:18.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-10-09T14:31:51.000Z (over 1 year ago)
- Last Synced: 2025-03-01T14:37:44.626Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 271 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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) {};
```