Given an array $B$ of $N$ integer elements and an integer $X$. We have to assign value to elements of an array $A$ of size $N + 1$.
It is given that $A[0] = X$.
Array $B$ follows the given property:
We have to assign value to each array element in array $A$ for $1 \leq i \leq N$ such that:
Find the number of valid assignments possible modulo $10^9 + 7$.
It is guaranteed that the value of array $B$ is such that there does not exist any pair of indices $(i,j)$ in array $A$ such that both conditions hold simultaneously:
Arista • Pending
Arista • Pending
BlackRock • Pending
BlackRock • Pending