Solution
= Solution
Under the <discrete uniform distribution>, the observation has probability $1/N$ when its value is an available label, and zero otherwise. Therefore the <likelihood function> is
$$
\boxed{L(N;y)=\frac1N\mathbf1_{\{N\geq y\}},\qquad N\in\{1,2,\ldots\}.}
$$
This is the <discrete uniform endpoint posterior> model's likelihood; all endpoints smaller than the observed label are excluded.