Channel Discord Community: / discord
Problem Link: leetcode.com/problems/subarra...
Today we are solving a god awful problem that is an absolute chore to explain: Subarray Sums Equals K (Leetcode 560). The code for this problem is very straightforward but the explanation is so difficult as you'll see... even I'm struggling to explain and that's helped by the terrible examples given for this problem.
TIMESTAMPS
00:00 Intro
00:08 Question Prompt
00:21 Basic Example
01:39 Solution Intuition
07:28 Coding
12:24 Explaining prefix_dict[0] = 1
14:40 Time/Space Complexity
15:30 Outro
Негізгі бет Ғылым және технология SUBARRAY SUM EQUALS K | LEETCODE 560 | PYTHON SOLUTION
Пікірлер: 18