Problem Description
A = [1, 2, 3]
Input 2:
A = [1, 0, -1]
[3, 0]
Output 2:
[1, 1]
Positive values are [1, 2, 3]. There are no negative values.
Explanation 2:
Only positive value is [1]. Only negative value is [-1].
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a question? Checkout Sample Codes for more details.