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

If lotus and lily are chosen for functions on consecutive days then in which function is sunflower
a)mehendi
b)cocktail
c)lunch
d)marriage
e)sangeet
Can somebody explain me this ?
A,B,C,D,E related. 4 of them made these statements each.1)C is my son in laws brother2)B is my fathers brother3)E is my mother in law4)A is my brothers wife. who made these statements?