Google L4 Onsite

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-06-02Added By Anonymous
Source: Link

Company: Google
Role: L4
Interview Stage: Onsite
Location: unknown
Year: unknown

Original Post Content:

Find the kth smallest subarray sum of an array, and the input array can have negative elements as well.

I could only code the max-heap approach : O(n2log(k))

Comments