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

added dijkstra algorithm in cpp #189

Merged
merged 3 commits into from
Oct 30, 2020
Merged

Conversation

adarsh115
Copy link
Contributor

@adarsh115 adarsh115 commented Oct 29, 2020

Relates to #166

Description:

Checklist

<Put an x between square brackets wherever appropriate without any spaces like [x]>

  • I've followed the Contributing guidelines provided in the repository.
  • I've made the changes which were demanded in the linked issue.
  • My code gave a clean output on debugging. (NO warnings/errors)

@adarsh115 adarsh115 closed this Oct 29, 2020
@adarsh115 adarsh115 reopened this Oct 29, 2020
@adarsh115
Copy link
Contributor Author

@Vishal19111999

@sanskarseth
Copy link
Collaborator

@adarsh115 please take the input from the user and then store it as an adjacency list or matrix so that this code can be useful in competitive programming.

Rest looks fine :)

@vishalvibes
Copy link
Member

@adarsh115 don't use define, use const int instead

now the user can enter the graph.
made global variable V constant.
@sanskarseth sanskarseth merged commit 512e6ad into houseofgeeks:master Oct 30, 2020
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.

3 participants