Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Story #1

Closed
rabestro opened this issue Jun 6, 2022 · 0 comments · Fixed by #2
Closed

Story #1

rabestro opened this issue Jun 6, 2022 · 0 comments · Fixed by #2
Assignees
Labels
enhancement New feature or request

Comments

@rabestro
Copy link
Owner

rabestro commented Jun 6, 2022

Given a simple text file with IPv4 addresses. One line - one address, like this:

145.67.23.4
8.34.5.23
89.54.3.124
89.54.3.124
3.45.71.5
...
The file size is not limited and can take tens and hundreds of gigabytes.

Your task is to count the number of unique addresses in this file, spending as little memory and time as possible.

@rabestro rabestro added the enhancement New feature or request label Jun 6, 2022
@rabestro rabestro self-assigned this Jun 6, 2022
@rabestro rabestro pinned this issue Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant