Skip to content

Instantly share code, notes, and snippets.

@uxjp
Last active September 22, 2022 11:57
Show Gist options
  • Save uxjp/a204a055c3c4545db399d67e70fafb14 to your computer and use it in GitHub Desktop.
Save uxjp/a204a055c3c4545db399d67e70fafb14 to your computer and use it in GitHub Desktop.
Elixir filter positions in a list
defmodule Solution do
IO.read(:all)
|> String.split
|> Enum.drop_every(2)
|> Enum.each(&IO.puts/1)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment