Print All Sub-Arrays for a given Array (Alternate Way) | DSA