Skip to content

Conversation

@rxiddhi
Copy link
Contributor

@rxiddhi rxiddhi commented Oct 27, 2025

Problem:
Given a directed graph with n vertices and m edges, determine and print the maximum absolute difference between the in-degree and out-degree of any vertex in the graph.

Constraints:
1 ≤ n ≤ 100
0 ≤ e ≤ n* (n-1) / 2

Problem:
Given a directed graph with n vertices and m edges, determine and print the maximum absolute difference between the in-degree and out-degree of any vertex in the graph.

Constraints:
1 ≤ n ≤ 100
0 ≤ e ≤ n* (n-1) / 2
@ghostmkg ghostmkg merged commit 81496f3 into ghostmkg:main Oct 28, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants