Round 1
Questions: Q ) Try to write function for following array [7,8,[3,4]] in such a way that starting from index = 1 sum is calculated as
7*1+8*2+3*3+4*3 = 44
Candidate's Approach
The candidate suggested using a recursion approach to solve the problem. However, they expressed concern that their explanation leaned towards backtracking, which might not align with the interviewer's expectations for a recursive solution.
Interviewer's Feedback
No feedback provided.