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
10h
2788
11 offers to laid off[UPDATE]: 5 offers
Personal Finance
Yesterday
1139
Are we ready to buy our forever home?
Software Engineering Career
16h
478
[Harsh Truth] Agile sprints are designed to make employees take no leaves 🙄🙄
India
Yesterday
749
Cartoon from 1951
Ask Blinders
Yesterday
1169
Top red flags in guy to see before saying yes to marriage (arranged)
Pseudo code and hand waves
?