You are given a positive integer n.
Let even denote the number of even indices with a value of n, indexed starting from
Let odd denote the number of odd indices with a value of n, indexed starting from
Return an integer array [ even, odd ].
Constraints:
n
You are given a positive integer n.
Let even denote the number of even indices with a value of n, indexed starting from
Let odd denote the number of odd indices with a value of n, indexed starting from
Return an integer array [ even, odd ].
Constraints:
n