Removal of vertices

Problem Name:
Removal of vertices
Site:HackerEarth
Links:
Tags:
Problem setters: