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

The solution of "Reverse Words in a String" is not correct #12

Closed
tangweikun opened this issue Jan 21, 2018 · 2 comments
Closed

The solution of "Reverse Words in a String" is not correct #12

tangweikun opened this issue Jan 21, 2018 · 2 comments

Comments

@tangweikun
Copy link

I think you misunderstand the leetcode description about this problem
That's my test case about this problem, maybe will help you to check your solution
TestCase

@lessfish
Copy link
Owner

@tangweikun

Hi, maybe what you are looking for is "Reverse Words in a String III" instead of "Reverse Words in a String"? Here it is

Btw, the first two test cases of yours are the same?

@tangweikun
Copy link
Author

@hanzichi
Sorry about that, what I mention about is Reverse Words in a String III
Btw, thanks for point out my duplication test case, I already remove it.

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