filmov
tv
Pairs with Positive Negative values | GeeksforGeeks | Hashing data structure | Leetcode DSA series

Показать описание
This is the video under the series of DATA STRUCTURE & ALGORITHM in a HASHING Playlist. We are going to solve the problem "Pairs with Positive Negative values" from geeks for geeks which are solved by using unordered_map, vector, map in c++.
Given an array of distinct integers, print all the pairs having positive value and negative value of a number that exists in the array.
NOTE: If there is no such pair in the array, return empty array.
Input:
n = 6
a[] = {1, -3, 2, 3, 6, -1}
Output:
-1 1 -3 3
We also Provide courses on Competitive Programming and Data structure and Algorithms. Please see our Full Playlist on our Channel.
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
*Follow me *
----------------------------------------------------------------------------------------
►Our Playlists on:-
------------------------------------------------------------------------
🌟 Please leave a LIKE ❤️ and SUBSCRIBE for more AMAZING content! 🌟
✨ Tags ✨
how to find Pairs with Positive Negative values
question asked in Goldman Sachs interview
how to crack Goldman Sachs online test
how to crack Google Interview
off-campus placement
how to learn to code for beginners
Practice Hashing data structure
hashing in data structure
Best Telegram channel for Off-campus Placement drive
hashing in a data structure in Hindi
unordered_map
vector in cpp
#hashing #geeksforgeeks #programming
Given an array of distinct integers, print all the pairs having positive value and negative value of a number that exists in the array.
NOTE: If there is no such pair in the array, return empty array.
Input:
n = 6
a[] = {1, -3, 2, 3, 6, -1}
Output:
-1 1 -3 3
We also Provide courses on Competitive Programming and Data structure and Algorithms. Please see our Full Playlist on our Channel.
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
*Follow me *
----------------------------------------------------------------------------------------
►Our Playlists on:-
------------------------------------------------------------------------
🌟 Please leave a LIKE ❤️ and SUBSCRIBE for more AMAZING content! 🌟
✨ Tags ✨
how to find Pairs with Positive Negative values
question asked in Goldman Sachs interview
how to crack Goldman Sachs online test
how to crack Google Interview
off-campus placement
how to learn to code for beginners
Practice Hashing data structure
hashing in data structure
Best Telegram channel for Off-campus Placement drive
hashing in a data structure in Hindi
unordered_map
vector in cpp
#hashing #geeksforgeeks #programming
Комментарии