Given the following array: show all the possible subarrays
A subarray is a contiguous part of an array. An array of length n has n(n+1)/2 possible subarrays. For the given input [1, 2, 3, 4], we have the size of the array as 4. Thus, there are 4(4+1)/2 = 10 possible subarrays. The subarrays of [1, 2, 3, 4] are:

[1]
[2]
[3]
[4]
[1, 2]
[2, 3]
[3, 4]
[1, 2, 3]
[2, 3, 4]
[1, 2, 3, 4]
[1, 2, 3, 4]
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
Given the following array: show all the possible subarrays

### Input:
[1, 2, 3, 4]

### Response:
A subarray is a contiguous part of an array. An array of length n has n(n+1)/2 possible subarrays. For the given input [1, 2, 3, 4], we have the size of the array as 4. Thus, there are 4(4+1)/2 = 10 possible subarrays. The subarrays of [1, 2, 3, 4] are:

[1]
[2]
[3]
[4]
[1, 2]
[2, 3]
[3, 4]
[1, 2, 3]
[2, 3, 4]
[1, 2, 3, 4]