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

Is this a bug with “Longest Substring Without Repeating Characters”? #149

Open
wangkuiyi opened this issue Feb 26, 2018 · 1 comment

Comments

@wangkuiyi
Copy link

I’d thought that memset initialize bytes but not integers?

@wangkuiyi wangkuiyi changed the title Is this a bug with max length non-repeated substring? Is this a bug with “Longest Substring Without Repeating Characters”? Feb 26, 2018
@Dev-XYS
Copy link

Dev-XYS commented Apr 1, 2018

Setting all the bytes of a integer to -1 (0xFF) results in the integer becoming 0xFFFFFFFF (-1).

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

No branches or pull requests

2 participants