Panda Guru LogoPanda
Guru

Meta | SWE Product | E4-E5 Phone Screen

Round 1

Questions:

  1. Sliding Window Average: Given an integer array as input and a window size, find the sliding window average.

    • Input: nums = [1, 2, 3, 4, 5, 6, 7, 8, 9], windowSize = 7
    • Output: [4.0, 5.0, 6.0]
    • Follow up: Design an API to return the sliding average, if input is given as a stream instead. Moving Average from Data Stream
  2. Next Permutation

Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.