[Java] Leetcode 560. Subarray Sum Equals K [Hash Tables #2]

preview_player
Показать описание
In this video, I'm going to show you how to solve Leetcode 560. Subarray Sum Equals K which is related to Hash Tables.

Here’s a quick rundown of what you’re about to learn:

⭐️ Contents ⭐️
⌨️ (0:00) Question Explain
⌨️ (1:09) Brute force Approach
⌨️ (3:03) Prefix Sum Approach
⌨️ (17:50) Code Solution

In the end, you’ll have a really good understanding on how to solve Leetcode 560. Subarray Sum Equals K and questions that are similar to Hash Tables.

Now, if you want to get good at Hash Tables, please checkout my Hash Tables playlist.

Рекомендации по теме
Комментарии
Автор

at 15.01 do we want to increment the 14 by count 1or 14-7==7 by count 1?

keerthivasan