Globant Interview Question

Basic core question if all good then going to advanced