Skip to content

brunolipe-a/elixir_list_length

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ListLength

💻 About the challenge

In this challenge, you must create a function that, given a list of numbers (example [1, 3, 6, 43, 6]), calculate, recursively, how many elements are in the list and return that value.

For example, we have the following input e expected output for the function that receves the list:

iex> ListLength.call([1, 2, 3, 5, 7])
...> 5

💜 Thanks to Rocketseat 👋

About

Challenge #01 - Trilha Elixir - Ignite (https://pages.rocketseat.com.br/ignite)

Resources

Stars

Watchers

Forks

Languages