Infosys
Company
Programming
Technical
It is given that for a tree that has x nodes, if x-1 of it's nodes are leaves then this tree is a star.
You have N star trees and the number of leaves for each. We call a subset of star trees beautiful if they can be merged together.
Read Solution (Total 0)
Infosys Other Question