1p3a
Question
·
Jan 2026
Apple Two-Round Pure Coding Interview Experience: Prefix Sum and Tree Iterator
Question Details
Given an integer array nums and an integer k, find all continuous subarrays whose sum is exactly equal to k.Solution ApproachUse prefix sum + hash map. Maintain the current prefix sum sum. If sum - k
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Arrays
Trees
Hash Table
Stack Queue
Two Pointers
More from Apple
1p3a
Apple Software Engineer Fulltime Tech Phone Screen Interview
LeetCode
Apple Upcoming Interview| Need Elimination Round Experiences | Java, SpringBoot, Microservices
1p3a
Apple Software Engineer Fulltime Tech Phone Screen Experience
Reddit
A list of questions I was asked at top tech companies
Reddit
Apple was intense