How else do they decide? They’re doing a behavioral round, system design, manager interview, etc. But being able to implement, traverse, and analyze complex data structures and apply them to a problem is essential.
There’s a class of delusional people who think a GitHub profile is sufficient. Outside of a minority of technical influencers that is absolutely wrong and unreasonable.