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)
- Host: GitHub
- URL: https://github.com/asiolelab/flat-array
- Owner: asioleLab
- Created: 2022-08-10T15:39:14.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-10T16:16:57.000Z (almost 4 years ago)
- Last Synced: 2025-05-31T14:25:06.180Z (about 1 year ago)
- Topics: java, javascript
- Language: Java
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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'