InterviewDB Question

C3 AI SWE Phone - Subarray Sum Equals K

Question Details

Problem Count the number of contiguous subarrays that sum to a target value k using prefix sums and a hash map. Likely LeetCode equivalent LC 560 - Subarray Sum Equals K (>80% confident) Tags arrays, hash_table, prefix_sum

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 phone round.

It covers the following topics: Arrays, Coding, Hash Table, Phone .