Net lead Interview Questions
114
Net Lead interview questions shared by candidates
how to handle fresher s
2 Answers↳
Show them the growth path. Allow them to solve the problem themselves. Own project responsibility and don't blame fresher in front of your seniors for mistakes which you have overlooked. Less
↳
Show them the growth path. Allow them to solve the problem themselves. Own project responsibility and don't blame fresher in front of your seniors for mistakes which you have overlooked. Less

How to divide a round two layer cake into 8 pieces in three cuts.
2 Answers↳
Two across the top of the cake in an "X" and across the side.
↳
Cut into four then cut the top from the bottom.

There were 2 Programs questions 1. Converting Java variable to cpp and vice versa e.g. if this_is_a_variable is CPP varaible and need to convert thisIsAVariable is java variable and if java variable is provided then need to convert into CPP (using any programming language)
2 Answers↳
## JavaScript Solution /** * Convert Java Variable into CPP Variable * Example: * "this_is_a_variable" ------> "thisIsAVariable" */ function javaVariableToCPP(str){ let inputArr = str.split('_'); let arr = []; for(let char of inputArr){ arr.push(char.charAt(0).toUpperCase() + char.slice(1)); } return arr.join(''); } console.log(javaVariableToCPP("this_is_a_variable")); /** * Convert CPP Variable into Java Variable * Example: * "thisIsAVariable" ------> "this_is_a_variable" */ function cppVariableToJava(str){ let arr = []; for(let char of str){ if(char === char.toUpperCase()){ char = '_'+ char.charAt(0).toLowerCase() + char.slice(1); } arr.push(char); } return arr.join('') } console.log(cppVariableToJava("thisIsAVariable")); Less
↳
I used c# to implement it.




Inheritence related
1 Answers↳
Extension of a base functionality or specialization of a type. He had his own ideea of how this works and it degenerated to the "why do we need an interface" question from him with examples that we actually don't need an interface (keep in mind he has 10 years of exp) Less



What do you keep in mind when you write code.
1 Answers↳
The interviewer possibly was just looking for the world SOLID principles.