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

Update 第一个只出现一次的字符.py #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yang-365
Copy link

blist并不一定是按原本顺序的,可能是乱序的,blist第一个值为1的字符i 并不一定是alist中第一个出现1次的字符,可能是第2个、第3个,所以应该从alist中循环而不是blist

blist 并不一定是按顺序的,可能blist中的i并不一定是alist中第一个出现一次的字符
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.

None yet

1 participant