Not so sure, if this question was asked earlier on SO. But, I didn't find answer and explanation.
I heard from many people that, interviewer asked question like :
- How many If-else can be nested ?
- How many function can be nested within function ?
I'm not sure about the answer and didn't find any explanation. In real time scenario I never got a chance to nest if-else condition more than 5-6. So, for the people who faced such questions, who never had such scenario where s/he had to use maximum number of nesting. How could they answer ? Any logic ? Does it also depends on language to language ?
Aucun commentaire:
Enregistrer un commentaire