Given a question that doesnt necessarily stresses OOP, but say it uses 2-3 functions perhaps for recursion. Should one use a class? or subfunctions instead? Subfunctions can be easier done imo but not as good coding. Agree?
class Solution
Very leetcode-y but perhaps best practice?
use classes and write production code (dependency injection for the input). explain why you are doing what you do
What if you only write a single function? Wrap it in a class as well?
Ask your interviewers
“Would you like me to wrap this in a class or use sub functions?” <- like that?
Don't assume, communicate. Interviews are for figuring out your potential worth as a teammate.
Tech Industry
Yesterday
3281
BREAKING: Internal sources confirm another round of layoffs just hit emails at Tesla. For real.
Tech Industry
Yesterday
1122
Question about women in their 30’s?
Tech Industry
Yesterday
1256
Is filling for divorce reasonable given my situation
Software Engineering Career
Yesterday
2882
L4 Google -> 45 interviews, 5 offers, AMA
Tech Industry
4d
42805
What happens when most of your team is Indian?
Pseudo code and hand waves
?