Panda Guru LogoPanda
Guru

Google L3 Onsite Interview Question

Round 1

Questions: Given a list of points where each point represents a position of cake in the table [ x, y, l]
x - represents x co-ordinate
y - represents y co-ordinate
l - represents length and height of the cake starting from that (x,y) points.

All are decimals including the x and y. Find a horizontal line (fraction) such that the line above and below have equal portions of cakes in the table.

Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.