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

Wrong Logic #1

Open
Abhishekpratapsingh opened this issue Jun 30, 2015 · 0 comments
Open

Wrong Logic #1

Abhishekpratapsingh opened this issue Jun 30, 2015 · 0 comments

Comments

@Abhishekpratapsingh
Copy link

Test your solution on this input
5 6
1 2 1
1 3 1
1 4 1
5 2 1
5 3 1
5 4 1
0 0

Answer should be 6 (with all edges included), but your algorithm would rule out that possibility as in that case degree of node 1 (and node 5) is odd .

@Abhishekpratapsingh Abhishekpratapsingh changed the title Wrong Logic :P Wrong Logic Jun 30, 2015
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

1 participant