LeetCode Question · May 2023

[Morgan Stanley] sub-array sum with 2 arrays

2 upvotes 332 views 11 replies

Question Details

Gien two array A & B, count the sub-array combination sum (from both arrays) equal to a target value k. eg: A = {5,2,1,6,4}; B = {3,5}; k=10 Ans: 4 Explanation: The subarray...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Backtracking