Skip to content

FlintOFF/alternative_flatten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alternative_flatten

Alternative to method flatten in Ruby

This is the answer to the test task. The assignment was

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].
Try to avoid using language defined methods like Ruby's Array#flatten.

About

Alternative to method flatten in Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages