Suppose $k$ people de-board an airplane and get into a hall where they are assigned at most $n$ queues. The number of ways in which this can be done is $k! n^k$ or $n(n+1)\cdots(n+k-1)$?
From the discussion here, the second answer makes sense, but to me, the first one does.
Here's how I am arriving at the first answer: Suppose the people come down the airstair in one of the $k!$ ways; let that order be $p_1 \to p_2 \to \cdots \to p_n$ where $p_i$ is the $i$th person to de-board the plane. Now each $p_i$ has $n$ options (queues) to choose; he either goes to one of the empty queues (if one exists) or stands behinds someone. In total, are $k! n^k$ ways.
The other answer also seems to be correct. I think both the answers are correct; the only difference is in the assumption of people being similar objects (according to that answer) and dissimilar objects (according to my solution). Is my understanding correct?