Given a graph with n nodes and m edges, is it possible to find the maximum number of edges such that each node is in at most one edge?
constraints:
n<=1000
m<=n*(n-1)/2
Is maximum matching on a non-bipartite graph possible?
Given a graph with n nodes and m edges, is it possible to find the maximum number of edges such that each node is in at most one edge?
constraints:
n<=1000
m<=n*(n-1)/2