Back to Browse

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

41.7K views
Apr 26, 2021
12:10

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. ---------------------------------------------------------------------------------------- Subarray with 0 sum: https://practice.geeksforgeeks.org/problems/subarray-with-0-sum-1587115621/1 code in This Video: https://github.com/Prince-1501/Hello_world-Competiitve-Programming/blob/master/Leetcode/Hashing/Subarray%20with%200%20sum.cpp Pdf in this video: https://github.com/Prince-1501/Hello_world-Competiitve-Programming/blob/master/Leetcode/Hashing/Subarray%20with%200%20sum.pdf ---------------------------------------------------------------------------------------- *Unacademy * INVITATION CODE: HELLOWORLD Daily classes and courses: https://unacademy.com/goal/competitive-programming/LEARNCP/classes Open for All classes: http://unacademy.cc/daily_learning BATCHES FOR INTERMEDIATES UPRISE (Track 1): Complete Course on Transitioning from Python to C++: https://bit.ly/3dCWfxB UPRISE (Track 2): Complete Course on Transitioning from JAVA to C++: https://bit.ly/3sEwZv5 Prodigy 2.0: Advanced Data Structures and Algorithms: https://bit.ly/3dC2vWh BATCHES FOR BEGINNERS SUMMIT 2.0- Comprehensive Course on Data Structures and Algorithms: https://bit.ly/2RVLfTF Check out the star educators here: http://unacademy.cc/EducatorYT ---------------------------------------------------------------------------------------- *Follow me * LinkedIn► https://www.linkedin.com/in/iamprince/ Facebook► https://www.facebook.com/helloworldofficials/ Instagram► https://www.instagram.com/helloworldbyprince/ Twitter► https://twitter.com/prince_king_ Telegram► https://telegram.me/helloworldbyprince ---------------------------------------------------------------------------------------- ►Our Playlists on:- ►Competitive Programming: https://www.youtube.com/watch?v=6ZBY9yGNWbI&list=PLzjZaW71kMwTGbP1suqY16w1VSb9ZNuvE ►C++ Full Course : https://www.youtube.com/watch?v=dt1Ul9n2U04&list=PLzjZaW71kMwRba0ojzshdrmR_NueVeMJv ►Algorithms: https://www.youtube.com/watch?v=7aB650S72CQ&list=PLzjZaW71kMwQWnV474_y1twD9_5qS85Mu ►Data Structure: https://www.youtube.com/playlist?list=PLzjZaW71kMwQVEuI4I0Yj0NnsV-km-Jt_ ------------------------------------------------------------------------ 🌟 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

Download

0 formats

No download links available.

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