So I was working on a probability question and then this expression came up.
When I consulted the answers, I struggled to understand exactly how I would get from one expression to the other myself.
Substituting a constant such as
let $n=5$ makes it a bit clearer how they got from one expression to the other.
But is there a simple, yet general explanation of these expressions.
I am hoping the community could give some insight into how I should have approached this problem and similar ones in future.

Consider the expression $$\prod_{k=1}^{n}\prod_{j=0}^{k-1}(j+1)$$ Can you see what is happening here? Consider each 'block' for lack of a better word, where each block is for some value of $k$. So for the first block due to $k=1$, you have only one term in $\prod_{j=0}^{k-1}(j+1)$, which is $1$. For the second block, $j$ takes two values and so this becomes $1\times2$, and so on; $1$ is repeated $n$ times in the first expression, $2$ is repeated $n-1$ times, and so on. Thus, you can reduce this to a single product as $$\prod_{j=0}^{n}(j+1)^{n-j}$$. Can you now reason similarly for the expression you have?