Panda Guru LogoPanda
Guru

Meta | Technical Screen | Infrastructure

Round 1

Questions:

  1. Nested List Weight Sum
  2. Basic Calculator II

Nested List Weight Sum

Candidate's Approach

I proposed a recursive solution initially. When discussing space complexity, I acknowledged the O(d) memory usage due to the call stack. I suggested an iterative BFS approach but recognized it wouldn't improve memory complexity. I also attempted to explain a tree-like structure for input representation but struggled with clarity.

Interviewer's Feedback

Not sure if his response was positive or negative, but we moved on to the next question at the 20-minute mark.

Basic Calculator II

Candidate's Approach

I explained my approach of maintaining variables for the current value, previous value, and the current operation. I aimed for constant space complexity by avoiding a stack-based solution. I ran through my test cases, but later realized I had an indexing issue during iteration.

Interviewer's Feedback

No feedback provided.