Adobe interview question

Inference code edge cases , etc