This question was asked in the Google programming interview. I thought of two approaches for the same:
Find all the subsequences of length. While doing so c