Skip to content

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

Open
yang-365 wants to merge 1 commit intoleeguandong:masterfrom
yang-365:master
Open

Update 第一个只出现一次的字符.py#9
yang-365 wants to merge 1 commit intoleeguandong:masterfrom
yang-365:master

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.

1 participant