Mahmoud Ehab continue adventure as everybody evil land know Dr Evil like bipartite graph especially treesA tree connect acyclic graph a bipartite graph graph vertex partition 2 set way edge uv belong graph u v belong different set you find formal definition tree bipartite graph note section belowDr Evil give Mahmoud Ehab tree consist n node ask add edge way graph bipartite besides add edge graph simple do not contain loop multiple edge what maximum number edge addA loop edge connect node Graph do not contain multiple edge pair node edge a cycle loop are not