https://github.com/brandaoplaster/list_filtering_challenge
Filter all the numeric elements in the list and return how many odd numbers are in that list.
https://github.com/brandaoplaster/list_filtering_challenge
elixir
Last synced: 9 months ago
JSON representation
Filter all the numeric elements in the list and return how many odd numbers are in that list.
- Host: GitHub
- URL: https://github.com/brandaoplaster/list_filtering_challenge
- Owner: brandaoplaster
- Created: 2021-03-24T00:33:12.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-24T12:17:42.000Z (about 5 years ago)
- Last Synced: 2025-02-03T23:43:16.838Z (over 1 year ago)
- Topics: elixir
- Language: Elixir
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# List Filtering Challenge
Given a list of strings that represent numbers or not
(example **["1", "3", "6", "43", "banana", "6", "abc"]**),
filter all the numeric elements in the list and return how many
odd numbers are in that list.
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `list_filtering_challenge` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:list_filtering_challenge, "~> 0.1.0"}
]
end
```
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/list_filtering_challenge](https://hexdocs.pm/list_filtering_challenge).