I am search for different approach. Let see how many solution i can get
It was asked today in interview but could not crack it, any help.