I did Leetcode every now and then in May and June, but then I stopped it for a month in July when I was travelling. Now I'm trying to get back to coding Leetcode problems and I want to make it a daily habit. I now assign every day from 8:30-10:30am to just code and do nothing else and to at least do one problem, but it's hard not to get distracted since there's facebook, youtube, etc. It's also hard to see the end of career prep because I don't know how many problems or how many months it'll take for me to be ready to apply for jobs.
How do you make coding a daily habit and don't get discouraged?