Balanced Numbers in a Permutation
Given an array of length n, output a binary string for this Uber problem showing whether elements 1 to k form a contiguous subarray for every k up to n.
Check more interview questions and experiences about Uber
Given an array of length n, output a binary string for this Uber problem showing whether elements 1 to k form a contiguous subarray for every k up to n.
Check more interview questions and experiences about Uber
Please log in to view interview question details