Question Details
Problem Find the longest subarray containing at most two distinct types of fruit, using a sliding window approach. Likely LeetCode equivalent LC 904 - Fruit Into Baskets (>80% confident) Tags sliding_window, hash_table, arrays
Full Details
🔒
Unlock all C3 AI 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 c3 ai interview during the onsite round.
It covers the following topics: Sliding Window, Arrays, Coding, Hash Table, Onsite .