Before attempting the question, if you want to switch the language from which you want to write the code for the particular question.
1. Go to the particular question in which you want to change the language.
2. Navigate to the top bar of the page where the already chosen language name will be mentioned and click on it.
3. choose the preferred language from which you want to answer the question.
Note: The recruiter can restrict you to write the code with some particular or only one language.