A popular puzzle at an interview in an IT company

 

v20240901