Meta interview question

one medium and one hard question