Arrays

Algorithms

Partitioning an Array into K Equal Sum Subsets

Given an array of integers nums and a positive integer k, find whether it's possible to divide this array into k non-empty subsets whose sums are all equal.

Read
Algorithms

Longest Non-Contiguous, Non-Decreasing Subsequence

Find the longest non-contiguous, non-decreasing subsequence in an array of numbers.

Read