SUBARRAY SUMS DIVISIBLE BY K | LEETCODE 974 | PYTHON SOLUTION

Описание к видео SUBARRAY SUMS DIVISIBLE BY K | LEETCODE 974 | PYTHON SOLUTION

Discord Link:   / discord  

Problem Link: https://leetcode.com/problems/subarra...

In this video we are solving an interesting question dealing with prefix sums: Subarray Sums Divisible by K (Leetcode 974).

This is really one of those questions where you've either solved enough prefix sum problems to understand how it works right away or you need to see the solution in order to get it. Figuring it out on your own is quite tricky as it's a bit hard to wrap your head around the logic with the remainders.

Комментарии

Информация по комментариям в разработке