Screening question: Write a "recursiveDescription" function for a UIView that prints out subviews tree in a following example: <UIView> | <UIScrollView> | | <UIView> | | | <UILabel> | <UIView> | | <UILabel> A similar example could be a recursive iteration in folders/files or a tree.
Anonymous
Recursion is a good way to resolve especially taking into account that a view tree cannot be cyclical.
Check out your Company Bowl for anonymous work chats.