Skip to content

[BUG] Optimise the Steve of eratosthenes Algorithm #4129

Closed
@Swarga-codes

Description

@Swarga-codes

Description

I was going through the code, that is, the SIEVE OF ERASTOSTHENES Algo and found it was somewhere between 80 82 lines, the code was quite long, can I improve it by reducing the size of the code?

Steps to reproduce

No response

Excepted behavior

The code is performing as expected but it was quite large and lengthy, I would like to shorten the code.

Screenshots

image

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions