Skip to content

michelemilani91/pagopa-flatten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

pagopa-flatten

Question

Write some code that will flatten an array of arbitrarily nested arrays of integers into a flat array of integers. e.g. [[1,2,[3]],4] -> [1,2,3,4].

Installation and test

Requires Node.js to run.

Install the dependencies and devDependencies, compile with TypeScript and start the server.

cd pagopa-flatten
node flatten.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published