#
# 1. Create a function to flatten the below array by one dimension
#
# oneDimensionalArray = [1, [2, 3, [4, 5]]]
#
#
# 2. Create a function to flatten the below array n times.
#
# nTimesArray = [1, [2, 3, [4, [5, 6]]]]
#
#
# 3. Create a function to flatten the below array using recursion.
#
# arrayWithRecursion = [1, [2, 3, [4, [5, 6]]]]
#
-
Notifications
You must be signed in to change notification settings - Fork 1
josephferris/ruby-flatten-array-lc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published