Related Coding / DSA
Partition a Set into Two Equal-Sum Groups
Given a set of positive integers, determine whether it can be partitioned into two groups with equal sums.
Given a non-empty list of integers, find the maximum sum of any contiguous non-empty subarray.
Given a non-empty list of integers, find the maximum sum of any contiguous non-empty subarray. The list has at most 100000 elements, and each value is between -10000 and 10000 inclusive. Start with any clarifying questions.
Work in the provided coding workspace while explaining your decisions to the live interviewer. Validation may use inline tests, examples, comments, or a verbal walkthrough.
Practice this problem in the live coding workspace while the interviewer probes your clarification, implementation, trade-offs, and validation.
Continue to DashboardHidden because they name the technique, which a real interviewer would not tell you.
Continue preparing
Related Coding / DSA
Given a set of positive integers, determine whether it can be partitioned into two groups with equal sums.
Related Coding / DSA
Given a list of lowercase words, group together the words that share the exact same multiset of letters.
Related Coding / DSA
Given a 2D grid of land and water cells, count the number of distinct connected land regions, where cells are connected horizontally or vertically.
Related Coding / DSA
Given a sequence of integers, find the length of the longest subsequence (not necessarily contiguous) whose elements are strictly increasing.