Meta Interview Question

two med lc question, not too hard, tagged question