In an exercise, I was asked to find a sequence of positive functions in $\mathcal{L}([0,1])$ such that $$\lim_{n\to\infty}\int_{[0,1]} f_n(x)\mathrm{d}x =0\qquad\text{while}\qquad \limsup_{n\to\infty} f_n(x) = +\infty\quad\text{for every}\:x\in [0,1].$$
My idea was the following: since $\{\sqrt{2}\:n\}$ is dense in $[0,1)$, for every $x\in[0,1)$ there exists an increasing function $\varphi_x$ such that $\{\sqrt{2}\:\varphi_x(n)\}\to x$. Then I want to create a sequence of functions $(f_n)$ in the following way $$f_n(x)=\begin{cases} n^4x+n-\{\sqrt{2}\:n\}n^2 \qquad&\text{if}\qquad \{\sqrt{2}\:n\}-\frac{1}{n^3}\leq x\leq \{\sqrt{2}\:n\} \\ +\infty &\text{if}\qquad x=1\\ 0 &\text{otherwise.} \end{cases}$$ Each $f_n$ is a triangle with a extra point at $x=1$. Clearly $f_n(1)\to\infty$. If $x<1$, pick $\varphi_n$ and then $f_{\varphi_x(n)}(x)\to\infty$. We also have $\int f_n = 2/n^2 \to 0$. This seems to imply the result.
I wonder if it exists one such sequence with $f_n$ continuous. I also wonder if the interval $[0,1]$ is of any importance here. It exists one such sequence (with $f_n$ continuous or not) if we chance $[0,1]$ by $\mathbb{R}$?
For all $n>1$, write $$n= 2^a +b$$ with $a>0$ and $0 \le b \le 2^a-1$. Then define $$f_n(x)= \begin{cases} a & \mbox{ if } x \in [b2^{-a}; (b+1)2^{-a}] \\ 1/a & \mbox{ otherwise} \end{cases}$$ These are not continuous. To make them continuous, simply consider their mollification under suitable convolution. See https://en.wikipedia.org/wiki/Mollifier for details.