I get confused between when to apply L'Hospital Rule and Taylor Series.
Is there any set of trigger points in the questions, that would be easier to solve with Taylor Series?
For Example, If the denominator is in terms of a large power of $x (>3)$, then L'Hospital Rule usually becomes complicated and is not advised.
Edit: Solve
$\lim _{x\to 0}\left(\left(\sin x\right)^{\frac{1}{x}}+\left(\frac{1}{x}\right)^{\sin x}\right)$
The options given are: $0, 1, -1, \infty$
I should say that most of the time (not to say all the times) Taylor expansions are the keys.
Let me consider your example $$\lim _{x\to 0}\left(\left(\sin(x)\right)^{\frac{1}{x}}+\left(\frac{1}{x}\right)^{\sin(x)}\right)$$
Consider the first term $$a=\left(\sin(x)\right)^{\frac{1}{x}} \implies \log(a)={\frac{1}{x}}\log\left(\sin(x)\right)$$ Now, by Taylor $$\sin(x)=x-\frac{x^3}{6}+O\left(x^5\right)$$ $$\log\left(\sin(x)\right)=\log (x)-\frac{x^2}{6}+O\left(x^4\right)$$ $$\log(a)=\frac{\log (x)}{x}-\frac{x}{6}+O\left(x^3\right)$$ So $\log(a)\to -\infty$ which means thet $a\to 0$.
Now, the second term (using equivalent is faster here) $$b=\left(\frac{1}{x}\right)^{\sin(x)}\implies \log(b)=-\sin(x) \log(x)\sim -x \log(x)\to 0^+$$ which means that $b\to 1^+$ and so $a+b$.