Your understanding of clique is correct.
However the maximal clique in that graph is {1,2,3} and not {1,2,3,4,5}.
{1,2,3,4,5} is not even a clique in that graph.
Your understanding of clique is correct.
However the maximal clique in that graph is {1,2,3} and not {1,2,3,4,5}.
{1,2,3,4,5} is not even a clique in that graph.