GFG Problem of the day is based on this pattern, replace K with 0 to solve this question.
GFG POTD:
https://www.geeksforgeeks.org/problem...
Solve any problem of K sum subarray
Problem Names:
1. Find K sum subarray exists
2. Find the starting and ending indexes of subarray with sum K
3. Find the K sum subarray with maximum length
4. Find the total count of subarrays with sum K.
Problem Statement:
1. Find the subarray with sum k exists or not?
2. Given an unsorted array A of size N that contains only positive integers, find a continuous sub-array that adds to a given number S and return the left and right index(1-based indexing) of that subarray.
In case of multiple subarrays, return the subarray indexes which come first on moving from left to right.
Note:- You have to return an ArrayList consisting of two elements left and right. In case no such subarray exists return an array consisting of element -1.
3. Given an array containing N integers and an integer K., Your task is to find the length of the longest Sub-Array with the sum of the elements equal to the given value K.
4. Given an array of integers nums and an integer k, return the total number of subarrays whose sum equals to k.
A subarray is a contiguous non-empty sequence of elements within an array.
Problem link:
1. Solve locally.
2. https://www.geeksforgeeks.org/problem...
3. https://www.geeksforgeeks.org/problem...
4. https://leetcode.com/problems/subarra...
Java Plus DSA Placement Course Playlist:
• Java and DSA Course Playlist : Online...
Java Plus DSA Sheet:
https://docs.google.com/spreadsheets/...
Notes:
https://github.com/Tiwarishashwat/Jav...
Telegram Link:
https://shashwattiwari.page.link/tele...
Ultimate Recursion Series Playlist:
• Recursion and Backtracking Ultimate S...
Instagram Handle: (@shashwat_tiwari_st)
https://shashwattiwari.page.link/shas...
Samsung Interview Experience:
• I cracked Samsung | SRIB Interview Ex...
Company Tags:
Facebook | Amazon | Microsoft | Netflix | Google | LinkedIn | Pega Systems | VMware | Adobe | Samsung
Timestamp:
0:00 - Introduction
#ShashwatTiwari #coding #problemsolving
subarray with given sum,subarray sum equals k,subarray sum equals k leetcode,find subarray with given sum,subarray with given sum geeks for geeks,number of subarrays with sum equals k,subarray sum equals k solution,hashmap,subarray with given sum geeksforgeeks,zero sum subarray,subarray with given sum negative numbers,subarray sum equals k java,subarray sum equals k leetcode solution,subarray sum,subarray with sum 0, subarray, Hashing, HashMap in java
programming interview questions, coding interview questions, programming tutorials, computer science, codeforces, geeksforgeeks, information technology, programming, subarray sum equals k, number of subarrays with sum equals k, leetcode #560,day 22,30 days coding challenge, leetcode, count subarrays,count number of subarrays,subarray sum k,find subarrays with sum k,subarray interview question, subarrays sum, map, hashmap, hashmap on subarray, subarray with given sum
subarray sum equals k, subarray sum equals k leetcode, subarray sum equals k leetcode cpp,subarray sum equals k gfg,subarray sum equals k python,count number of subarray equals sum k,strivers a2z dsa course,dsa course for placements,c++ dsa course for placements, java dsa course for placements,dsa course for beginners, dsa course for mnc, data structure and algorithm course, dsa playlist, striver, leetcode dsa, geeksforgeeks dsa, dsa, love babbar sheet, shashwat tiwari, anuj sharma, java, best dsa course, dsa course in hindi, leetcode problems, gfg problems
Информация по комментариям в разработке