2871. Split Array Into Maximum Number of Subarrays - Medium | DSA Corner | Talentd