Stryker Interview Question

Find and print all the sub arrays in an array.