In my opinion answering like that gives interviewer idea that u have thorough knowledge and know all the solutions in the incremental level of improvement (complexity and space usage etc).
i would love to see more number of users actively discussing challenging problems and the online compiler can be presented in a more intelligent way.
what i feel personally is that many companies nowadays are asking these type of questions and this site has covered many topics well and is moderated. But this can be further improved by increasing user interaction.
In my opinion answering like that gives interviewer idea that u have thorough knowledge and know all the solutions in the incremental level of improvement (complexity and space usage etc).
i would love to see more number of users actively discussing challenging problems and the online compiler can be presented in a more intelligent way.
what i feel personally is that many companies nowadays are asking these type of questions and this site has covered many topics well and is moderated. But this can be further improved by increasing user interaction.