Meta Interview Question

one medium and one hard question