Skip to content

Inefficient drawing algorithm #3

@ayaanqui

Description

@ayaanqui

private getDraws(N: number): Array<Map<number, number>> {

The current algorithm is very inefficient, and may cause the event loop to be blocked unnecessarily. In addition, the algorithm also doesn't generate all possible valid combinations.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions