one take is doing algorithm practices which may from online judge or interview questions, the codes are short but highly efficient.