BHustlerPrint all subsequences of a string/arrayInput provided is a string or array (basically a stream of chars or numbers), the expectation is to print all subsequences possible in the…Apr 18, 2023Apr 18, 2023