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.
ā 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.