AiCure interview question

How to handle size-mismatch problems?