Meta Interview Question

Provide your code to get an expected output.