When you're interviewing junior developers, you have no standard measure, they don't have enough actual experience to speak to. So before a leetcode and CTCI, you'd either have junior developers who went to a good university and were able to get an internship via that network, or they made some great open source contribution or project on the side as a student