Likelihood functions are same My approach: They both will not be same because if we try to find the maximum likelihood function, we will get different values for both the functions.

Is this correct?
No, that is a bit misleading.  Likelihood is a relative concept, and what is most relevant is not the value of the likelihood function, but the subset of the parameter space for which the likelihood is maximal (in the case of maximum likelihood estimation).

In other words, while the maximum likelihood of $\theta^2$ is $1$ in the first case and $100$ in the second, in both cases, the maximum is attained at $\theta = 1$, and it is this value that is of interest.
$$ \frac{\theta^2}{100\theta^2} = \frac 1 {100}, \text{ and this does not depend on } \theta. $$

Two likelihood functions are in many situations considered equivalent, or "the same", if one of them is a constant multiple of the other. "Constant" means not depending on $\theta.$

This means that not only will they yield the same maximum-likelihood estimators, but both will yield the same posterior distributions when given the same prior distributions.

For example, suppose $\Theta$ is uniformly distributed on $[0,1]$, so that $f_\Theta(\theta) = \begin{cases} 1 &amp; \text{if } 0\le \theta\le 1, \\ 0 &amp; \text{otherwise.} \end{cases}$

Then let $X$ be the number of successes in $8$ independent trials with probability $\Theta$ of success on each trial, and let $Y$ be the number of independent trials needed to get $5$ successes, again with probability $\Theta$ of success on each trial. If we observe $X=5,$ the likelihood is
$$
L(\theta) = \binom 8 5 \theta^5(1-\theta)^3 56\theta^5(1-\theta)^3.
$$
If we observe $Y=8$, then the likelihood is
$$
L(\theta) = \binom 7 4 \theta^4(1-\theta)^3\cdot\theta = 35\theta^5(1-\theta)^3.
$$
In either case the posterior density is
$$
f_{\Theta\,\mid\,X=5} (\theta) = 504 \theta^5(1-\theta)^3 = f_{\Theta\,\mid\,Y=8} (\theta),
$$
where the constant $504$ comes from the fact that
$$
\int_0^1 \theta^5(1-\theta)^3\,d\theta = \frac 1 {504}.
$$