To run docker in docker, you just need to map your host /var/run/docker.sock file into your container. docker run -it -v /var/run/docker.sock:/var/run/docker.sock {DOCKER_IMAGE_NAME}

Coding skill is critical to a software engineer. Doing leetcode is one of the easiest ways to improve your coding skill. It’s also one of the best ways to prepare for a coding interview.

Over the past few years, I’ve done 1000+ leetcode questions. Now, I can work on most of the medium questions and a lot of the hard questions comfortably. I’d like summarize some of my thoughts about how you can efficiently improve your coding skills with leetcode. I hope they are helpful to you.