Skip to content

add: bit-based solution - #7

Open
pogo5422 wants to merge 2 commits into
HowProgrammingWorks:masterfrom
pogo5422:master
Open

add: bit-based solution#7
pogo5422 wants to merge 2 commits into
HowProgrammingWorks:masterfrom
pogo5422:master

Conversation

@pogo5422

Copy link
Copy Markdown

This approach should be much faster than string concatenation

@ivan-tymoshenko ivan-tymoshenko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JavaScript bitwise operators work with 32-bit signed integers. To generate the correct numbers, you should use BigInt or something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants