Adobe Interview Question

Inference code edge cases , etc