was not able to come up with solution for below question !
Following is the input
would be glad if anyone shares the Solution or thoughts on this Problem