Google L3 | Phone Screen | Reject

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2025-03-02Added By Anonymous
Source:Ā Link
🧭 Experience: unknown
āœ… Outcome: Reject
šŸ’° Compensation: unknown
šŸ“ Location: unknown
šŸ¢ Company: Google
šŸŽ“ Education: unknown
šŸŽ Benefits: unknown
šŸ“… Offer Date: unknown
Question: Given a Binary Tree whose nodes could be one of the following `AND`, `OR`, `NOT`, `XOR`. Unary for `NOT` node. Leaves will have a value as `true` or `false`. Need to evaluate the tree value and get final result array by toggling all the leaves node. i.e `true` to `false` or `false` to `true` one by one.
Comments