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

https://github.com/asiolelab/flat-array

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]. (provide a link to your solution)
https://github.com/asiolelab/flat-array

java javascript

Last synced: about 2 months ago
JSON representation

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]. (provide a link to your solution)

Awesome Lists containing this project

README

          

# Flat array quests

# 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]. (provide a link to your solution)

# For javascript, to execute the code launch 'node .\flatArray.js'