We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
In Test 10 the 3rd input specifies 15 vertices and 144 edges. A 15-vertex simple graph can have at most 105 edges. If we consider multigraphs then the task is meaningless. The expected answer is 16, which is a nonsense. A 15 vertex graph cannot contain a 16 vertex subgraph! So that input is wrong.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Clique
You are viewing a single comment's thread. Return to all comments →
In Test 10 the 3rd input specifies 15 vertices and 144 edges. A 15-vertex simple graph can have at most 105 edges. If we consider multigraphs then the task is meaningless. The expected answer is 16, which is a nonsense. A 15 vertex graph cannot contain a 16 vertex subgraph! So that input is wrong.