Spoj – PT07Y – Is it a tree

Problem link আলোচনাঃ আমাকে একটা undirected,unweighted graph দেয়া হবে। Graph টা Tree(বিশেষ ধরনের graph) কিনা সেটা বলতে হবে। তো একটা graph , tree হবে তখনই যখন- 1) edges=nodes-1, অর্থাত graph…

Continue Reading Spoj – PT07Y – Is it a tree