LeetCode Question · Aug 2022 · Los Angeles

TikTok | Phone screen

10 upvotes 1,568 views 4 replies

Question Details

Given an input array of 1s and 0s, return a range of array which when flipped will give maximum 0s in the array Input: [0, 1, 1, 0, 1, 1] Output: [1,...

Full Details

🔒

Unlock all ByteDance questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a bytedance interview for a swe role during the phone screen round reported in 2022.

It covers the following topics: Arrays .

Topics