Uber | Phone Screen | Symmetric Tree and Subarray with atmost k odd elements

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2019-10-18Added By Anonymous
Source: Link

Company: Uber
Role: unknown
Interview Stage: Phone Screen
Location: unknown
Year: unknown

Original Post Content:

1. Given a binary tree, check whether it is a mirror of itself.
https://leetcode.com/problems/symmetric-tree/

2. Given an array find the number of distinct subarrays with atmost k odd elements
https://leetcode.com/discuss/interview-question/278341/Uber-or-Phone-Screen-or-Distinct-subarrays-with-at-most-k-odd-elements

Comments