We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Array Of N Elements
Array Of N Elements
Sort by
recency
|
200 Discussions
|
Please Login in order to post a comment
Elixir is broken for this with my solutions. I have tried in several different ways and I still get 2 failing tests when submitting. The rest of the tests are ok and the failed ones are expecting the given number N as the result and not the list with N elements for some reason.
Scala has been broken To compelte this in scala you have to add some imports, remove the print statement and change the return type to apply a valid string rather than a list for this to complete.
scala
sounds Intresting, i am wondering can we use this concept in my site on my wordpress site? for either better structure or engagement.
Scala: val lst: List[Int] = (1 to num).toList