Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/laurabeatris/odd-list-filter

Elixir algorithm exercise to filter odd numbers from a given string list and return its quantity
https://github.com/laurabeatris/odd-list-filter

algorithms-and-data-structures elixir enumerable functional-programming

Last synced: about 1 month ago
JSON representation

Elixir algorithm exercise to filter odd numbers from a given string list and return its quantity

Awesome Lists containing this project

README

        



# Odd List Filter

Elixir algorithm exercise to filter odd numbers from a given string list and return its quantity

## Interesting Resources
- [Integer.parse](https://hexdocs.pm/elixir/1.12/Integer.html#parse/2)
- [Integer guards](https://hexdocs.pm/elixir/1.12/Integer.html#guards)
- [Enumerable module](https://hexdocs.pm/elixir/1.12/Enum.html)

## Module Usage
```elixir
ListFilter.call(["1", "3", "6", "43", "banana", "6", "abc"]) # Result: 3
```