LeetCode Question · Feb 2025 · USA

TikTok OA: Views and Duration

18 views 1 reply

Question Details

Recently recieved a tiktok oa question: given views array, duration array, and integer k, want to maximize profit by choosing k corresponding elements from views and duration. Profit is calculated...

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 oa round reported in 2025.

It covers the following topics: Arrays, Sliding Window, Two Pointers .