@GopeshMedayil/

Udemy-Algorithms

Nodejs

No description

fork
loading
Files
  • index.js
  • mergeTwoSortedArrays.js
  • moveZeroes.js
  • reverseString.js
  • SumDigitsToSIngle.js
  • Two-sum.js
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
var sum = require("./Two-sum");
var reverseString = require("./reverseString");
let mergeSortedArray = require("./mergeTwoSortedArrays");
let sumDigits = require("./SumDigitsToSIngle");
let moveZeroes = require("./moveZeroes");



//console.log(sum.twoSum())
//console.log(reverseString.reverseString("Hello world"))
//console.log(mergeSortedArray([1,2,5],[1,10,8,9]));
//console.log(sumDigits(12345))
console.log(moveZeroes([0,1,0,3,12]))
node v10.16.0