Given a number N, find combination(a,b,c,d) where a<b<c<d and a+b+c+d=N. such that a is a prime number and b, c, d are odd numbers.
can you solve it using BST ??
ex- N=24 then a=3,b=5,c=7,d=9