Panda Guru LogoPanda
Guru

GOOGLE SDE Phone Screening Round | 1 Question

Round 1

Questions: Given an array of integers, select K elements such that the product is maximized. Return the product.

Follow-up Questions:

  1. No extra space after sorting.
  2. No sorting - suggested Priority queues.
Candidate's Approach

The candidate initially attempted a sorting-based approach but encountered issues with cases where all numbers were negative.

Interviewer's Feedback

No feedback provided.