filmov
tv
Subarray with sum 0 | GeeksforGeeks | Hashing data structure | Leetcode DSA series | Prefix Sum

Показать описание
This is the video under the series of DATA STRUCTURE & ALGORITHM in a HASHING Playlist. We are going to solve the problem "Subarray with 0 sum" from geeks for geeks which are solved by using unordered_set in c++
Given an array of positive and negative numbers. Find if there is a subarray (of size at least one) with 0 sum.
Input:
5
4 2 -3 1 6
Output:
Yes
Explanation: 2, -3, 1 is the subarray with sum 0.
We also Provide courses on Competitive Programming and Data structure and Algorithms. Please see our Full Playlist on our Channel.
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
*Unacademy *
INVITATION CODE: HELLOWORLD
BATCHES FOR INTERMEDIATES
BATCHES FOR BEGINNERS
----------------------------------------------------------------------------------------
*Follow me *
----------------------------------------------------------------------------------------
►Our Playlists on:-
------------------------------------------------------------------------
🌟 Please leave a LIKE ❤️ and SUBSCRIBE for more AMAZING content! 🌟
✨ Tags ✨
how to find Subarray with 0 sum
question asked in Goldman Sachs interview
how to crack Goldman Sachs online test
how to crack Goldman Sachs
off-campus placement
how to learn to code for beginners
Subarray with 0 sum
hashing in data structure
Best Telegram channel for Off-campus Placement drive
hashing in a data structure in Hindi
unordered_set
#hashing #geeksforgeeks #programming
Given an array of positive and negative numbers. Find if there is a subarray (of size at least one) with 0 sum.
Input:
5
4 2 -3 1 6
Output:
Yes
Explanation: 2, -3, 1 is the subarray with sum 0.
We also Provide courses on Competitive Programming and Data structure and Algorithms. Please see our Full Playlist on our Channel.
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
*Unacademy *
INVITATION CODE: HELLOWORLD
BATCHES FOR INTERMEDIATES
BATCHES FOR BEGINNERS
----------------------------------------------------------------------------------------
*Follow me *
----------------------------------------------------------------------------------------
►Our Playlists on:-
------------------------------------------------------------------------
🌟 Please leave a LIKE ❤️ and SUBSCRIBE for more AMAZING content! 🌟
✨ Tags ✨
how to find Subarray with 0 sum
question asked in Goldman Sachs interview
how to crack Goldman Sachs online test
how to crack Goldman Sachs
off-campus placement
how to learn to code for beginners
Subarray with 0 sum
hashing in data structure
Best Telegram channel for Off-campus Placement drive
hashing in a data structure in Hindi
unordered_set
#hashing #geeksforgeeks #programming
Комментарии