top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Maximum number of binary trees that can be formed with three unlabeled nodes ?

0 votes
799 views
Maximum number of binary trees that can be formed with three unlabeled nodes ?
posted Oct 22, 2013 by Neeraj Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes
answer Oct 22, 2013 by Salil Agrawal
Similar Questions
0 votes

Given a string S and set of strings U. Find the length of longest prefix of S that can be formed using strings in U.

For example you have following -

S= “absolute”
U={“abs”,”xyz”,”ol”,”te”}

Answer: 5 i.e "absol"

Now the task is to have the algorithm/program for the above problem, please help me with this?

...