For example, what does the ability to reverse an AVL tree on the whiteboard have to do with doing UI design in XAML?
I think few frontend developers would consider the work they do to be "UI design".
A UI tree component is not an AVL tree, plus most shops just stick with whatever comes with the framework, or buy some stuff like DevExpress toolbox.
Also UI knowledge requires design skills and knowing what the stack is capable of, not CS bingo about stuff I haven't used in 20 years.
I can dust off my data structures and algorithms CS book if I ever need to implement one.