Doubt Regarding Approach for System Design Questions

@championswimmer-t Sir, in System Design questions, do we have to draw UMLs (class diagram etc.) or write the elaborated code for the design. I’m asking as, what is the general way to handle such type of questions ?