Unless you work in some cutting edge project, optimization or framework development, most of your work will consist in performing api calls, copy pasting and glueing boring pieces of code together.
So, my recommendation is, instead of becoming an expert in solving code challenges, be an expert in implementing real world solutions. Learn some useful framework and try to build something useful with it.