InterviewDB
Experience
Integers Split: Split an Array of Integers into K Groups with Minimum Sum Difference
phone
Interview Experience
Problem Given a list of integers and K, partition it into exactly K non-empty contiguous subarrays. Minimize the difference between the maximum subarray sum and the minimum subarray sum across all K groups. Example: Follow-ups How does a DP formulation with states (index, groups_remaining) solve this? What is the time complexity of your DP solution? How would binary search on the answer simplify the problem (binary search on difference)? Does the order of elements in the array matter? What if el…
Full Details
🔒
Unlock all Nextdoor questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited accessAbout This Question
This is a candidate experience report from a nextdoor interview during the phone round.
It covers the following topics: Dynamic Programming, Phone, Binary Search, Coding, Arrays .
More Nextdoor Interview Questions
1p3a
nextdoor software engineer tech phone screen interview overview
LeetCode
#56 Merge Intervals
InterviewDB
Comment Tree: Build and Traverse a Nested Comment Thread Like Reddit's
InterviewDB
Nextdoor SWE Onsite - Letter Combinations
1p3a
Nextdoor Full-Time SDE Tech Phone Screen Interview Questions