using map sorting and comparison nested loops class Solution{ public: bool check(vector<ll> A, vector<ll> B, int N) { unordered_map<long,long> mp; for(long long i=0 ; i<N ; i++ ){mp[A[i]]++;} for(long long i=0 ; i<...
Solved my 1 st Question from the coder army sheet today on the Geeks for Geeks platform Sheet has more than 700+ amazing problem Todays Problem / Search an Element in an array Check if two arrays are equal or not Missing element of AP Cyclic...