Coding Problem: Array GFG ( Leve 1) SubArray with Given Sum
Approach 1 :
Time Complexity : n2write two loops and then with the subArray calculate sum and compare to s if it is equal to sum then add in the list and return the index.
Approach 2 :
This is pending
Approach 1 : Solution
class Solution
{
//Fu...
hashcodehub.hashnode.dev1 min read