- 300
- 47 199
Pulkit Malhotra
India
Приєднався 12 чер 2016
Welcome to about section of my channel. Tune in here to watch video about my work and be a member of our family.
I'm lucky that my work help a wide range of brilliant and insightful people. Check out my latest video in the channel and i hope you will like it. Feel Free to share them with your family, friends and stay in touch.
For Business quarries :
pulkit161001@gmail.com
I'm lucky that my work help a wide range of brilliant and insightful people. Check out my latest video in the channel and i hope you will like it. Feel Free to share them with your family, friends and stay in touch.
For Business quarries :
pulkit161001@gmail.com
POTD- 28/12/2024 | Find All Triplets with Zero Sum | Problem of the Day | GeeksforGeeks
POTD: www.geeksforgeeks.org/problems/find-all-triplets-with-zero-sum/1
Code: discuss.geeksforgeeks.org/comment/05b60431-30e7-4580-94a7-335c12752a42/practice
Timestamp:
00:00 - Explanation
Connect with me :
LinkedIn: www.linkedin.com/in/thepulkitmalhotra/
Twitter: mobile. PulkitMalhotraa
GitHub: github.com/PulkitMalhotra161001
#coding #programming #GeeksforGeeks #ProblemofTheDay #CodingQuestions #POTD #problemsolving #practice #dsa #gfgpotd #gfg #dailychallenge #cpp #java #datastructures #algorithms #PulkitMalhotra #microsoft #amazon #google #flipkart #facebook #adobe #faang #interviewquestions
Code: discuss.geeksforgeeks.org/comment/05b60431-30e7-4580-94a7-335c12752a42/practice
Timestamp:
00:00 - Explanation
Connect with me :
LinkedIn: www.linkedin.com/in/thepulkitmalhotra/
Twitter: mobile. PulkitMalhotraa
GitHub: github.com/PulkitMalhotra161001
#coding #programming #GeeksforGeeks #ProblemofTheDay #CodingQuestions #POTD #problemsolving #practice #dsa #gfgpotd #gfg #dailychallenge #cpp #java #datastructures #algorithms #PulkitMalhotra #microsoft #amazon #google #flipkart #facebook #adobe #faang #interviewquestions
Переглядів: 12
Відео
POTD- 27/12/2024 | Count pairs with given sum | Problem of the Day | GeeksforGeeks
Переглядів 142 години тому
POTD: www.geeksforgeeks.org/problems/count-pairs-with-given-sum 150253/1 Code: discuss.geeksforgeeks.org/comment/7417593a-c98f-4952-ac76-0c173ff1054b/practice Timestamp: 00:00 - Explanation Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github.com/PulkitMalhotra161001 #coding #programming #GeeksforGeeks #ProblemofTheDay #Co...
POTD- 26/12/2024 | Two Sum - Pair with Given Sum | Problem of the Day | GeeksforGeeks
Переглядів 444 години тому
POTD: www.geeksforgeeks.org/problems/key-pair5616/1 Code: discuss.geeksforgeeks.org/comment/37977950-4adf-4980-9e8b-38644c38acf4/practice Timestamp: 00:00 - Explanation 00:43 - Approach 05:23 - Code Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github.com/PulkitMalhotra161001 #coding #programming #GeeksforGeeks #ProblemofT...
POTD- 25/12/2024 | Set Matrix Zeroes | Problem of the Day | GeeksforGeeks
Переглядів 247 годин тому
POTD: www.geeksforgeeks.org/problems/set-matrix-zeroes/1 Code: discuss.geeksforgeeks.org/comment/cdb90f07-1eb6-4ff8-93ec-35a68ed7fa29/practice Timestamp: 00:00 - Explanation 00:53 - Approach 07:25 - Code Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github.com/PulkitMalhotra161001 #coding #programming #GeeksforGeeks #Probl...
POTD- 24/12/2024 | Search in a sorted Matrix | Problem of the Day | GeeksforGeeks
Переглядів 679 годин тому
POTD: www.geeksforgeeks.org/problems/search-in-a-matrix-1587115621/1 Code: discuss.geeksforgeeks.org/comment/0e6897f7-4930-4c3c-a071-729885903669/practice Timestamp: 00:00 - Explanation 00:37 - Approach 09:52 - Code Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github.com/PulkitMalhotra161001 #coding #programming #Geeksfor...
POTD- 23/12/2024 | Search in a row-wise sorted matrix | Problem of the Day | GeeksforGeeks
Переглядів 6314 годин тому
POTD: www.geeksforgeeks.org/problems/search-in-a-row-wise-sorted-matrix/1 Code: discuss.geeksforgeeks.org/comment/505b7189-d006-45ec-8aae-19d9cae4fd6b/practice Timestamp: 00:00 - Explanation 00:42 - Approach 02:59 - Code Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github.com/PulkitMalhotra161001 #coding #programming #Gee...
POTD- 22/12/2024 | Search in a Row-Column sorted matrix | Problem of the Day | GeeksforGeeks
Переглядів 2514 годин тому
POTD: www.geeksforgeeks.org/problems/search-in-a-matrix17201720/1 Code: discuss.geeksforgeeks.org/comment/7281390e-9be1-428e-9330-cc6eb55a9d4d/practice Timestamp: 00:00 - Explanation 00:41 - Approach 04:29 - Code Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github.com/PulkitMalhotra161001 #coding #programming #GeeksforGee...
POTD- 21/12/2024 | Rotate by 90 degree | Problem of the Day | GeeksforGeeks
Переглядів 5716 годин тому
POTD: www.geeksforgeeks.org/problems/rotate-by-90-degree-1587115621/1 Code: discuss.geeksforgeeks.org/comment/afea7aef-caea-4be5-86a8-0574b2421b4d/practice Timestamp: 00:00 - Explanation 00:37 - Approach 1 11:00 - Code 1 11:50 - Approach 2 16:23 - Code 2 Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github.com/PulkitMalhot...
POTD- 20/12/2024 | Spirally traversing a matrix | Problem of the Day | GeeksforGeeks
Переглядів 3319 годин тому
POTD: www.geeksforgeeks.org/problems/spirally-traversing-a-matrix-1587115621/1 Code: discuss.geeksforgeeks.org/comment/c5ed2861-7b2b-4f04-a0dc-1783fb297cfc/practice Timestamp: 00:00 - Explanation 00:40 - Approach 08:15 - Code Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github.com/PulkitMalhotra161001 #coding #programming...
POTD- 19/12/2024 | Kth Missing Positive Number in a Sorted Array| Problem of the Day | GeeksforGeeks
Переглядів 8821 годину тому
POTD: www.geeksforgeeks.org/problems/kth-missing-positive-number-in-a-sorted-array/1 Code: discuss.geeksforgeeks.org/comment/ee47db34-924a-4c21-8c1a-0582d1a156f0/practice Timestamp: 00:00 - Explanation 01:55 - Approach 1 05:21 - Code 1 10:50 - Approach 2 20:59 - Code 2 Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github.c...
POTD- 18/12/2024 | Allocate Minimum Pages | Problem of the Day | GeeksforGeeks
Переглядів 120День тому
POTD: www.geeksforgeeks.org/problems/allocate-minimum-number-of-pages0937/1 Code: discuss.geeksforgeeks.org/comment/81d63eec-78fa-4d5e-be65-1fcbcdf41725/practice Timestamp: 00:00 - Explanation 03:16 - Approach 17:32 - Code Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github.com/PulkitMalhotra161001 #coding #programming #G...
POTD- 17/12/2024 | Aggressive Cows | Problem of the Day | GeeksforGeeks
Переглядів 236День тому
POTD: www.geeksforgeeks.org/problems/aggressive-cows/1 Code: discuss.geeksforgeeks.org/comment/d36413c7-7c69-4dc1-8063-fb736f889e6b/practice Timestamp: 00:00 - Explanation 02:00 - Approach 10:09 - Code Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github.com/PulkitMalhotra161001 #coding #programming #GeeksforGeeks #Problem...
POTD- 16/12/2024 | K-th element of two Arrays | Problem of the Day | GeeksforGeeks
Переглядів 73День тому
Similar: ua-cam.com/video/_rjD7M_2myU/v-deo.html POTD: www.geeksforgeeks.org/problems/k-th-element-of-two-sorted-array1317/1 Code: discuss.geeksforgeeks.org/comment/83a627bc-f0ad-4853-9263-0308fea8edba/practice Timestamp: 00:00 - Explanation 00:42 - Approach 09:11 - Code Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github...
POTD- 15/12/2024 | Peak element | Problem of the Day | GeeksforGeeks
Переглядів 116День тому
POTD: www.geeksforgeeks.org/problems/peak-element/1 Code: discuss.geeksforgeeks.org/comment/026492e2-4943-42a2-9d5d-54a4d78691dd/practice Timestamp: 00:00 - Explanation 01:35 - Approach 05:44 - Code Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github.com/PulkitMalhotra161001 #coding #programming #GeeksforGeeks #ProblemofT...
POTD- 14/12/2024 | Search in Rotated Sorted Array | Problem of the Day | GeeksforGeeks
Переглядів 14514 днів тому
POTD: www.geeksforgeeks.org/problems/search-in-a-rotated-array4618/1 Code: discuss.geeksforgeeks.org/comment/19093a4d-b3e3-452b-91c5-ac9119c3a5f0/practice Timestamp: 00:00 - Explanation 00:32 - Approach 05:14 - Code Connect with me : LinkedIn: www.linkedin.com/in/thepulkitmalhotra/ Twitter: mobile. PulkitMalhotraa GitHub: github.com/PulkitMalhotra161001 #coding #programming #Geeksfor...
POTD- 13/12/2024 | Sorted and Rotated Minimum | Problem of the Day | GeeksforGeeks
Переглядів 7014 днів тому
POTD- 13/12/2024 | Sorted and Rotated Minimum | Problem of the Day | GeeksforGeeks
POTD- 12/12/2024 | Number of occurrence | Problem of the Day | GeeksforGeeks
Переглядів 2314 днів тому
POTD- 12/12/2024 | Number of occurrence | Problem of the Day | GeeksforGeeks
POTD- 11/12/2024 | Merge Without Extra Space | Problem of the Day | GeeksforGeeks
Переглядів 5114 днів тому
POTD- 11/12/2024 | Merge Without Extra Space | Problem of the Day | GeeksforGeeks
POTD- 10/12/2024 | Non-overlapping Intervals | Problem of the Day | GeeksforGeeks
Переглядів 16214 днів тому
POTD- 10/12/2024 | Non-overlapping Intervals | Problem of the Day | GeeksforGeeks
POTD- 09/12/2024 | Insert Interval | Problem of the Day | GeeksforGeeks
Переглядів 1814 днів тому
POTD- 09/12/2024 | Insert Interval | Problem of the Day | GeeksforGeeks
POTD- 08/12/2024 | Overlapping Intervals | Problem of the Day | GeeksforGeeks
Переглядів 10021 день тому
POTD- 08/12/2024 | Overlapping Intervals | Problem of the Day | GeeksforGeeks
POTD- 07/12/2024 | Count Inversions | Problem of the Day | GeeksforGeeks
Переглядів 3421 день тому
POTD- 07/12/2024 | Count Inversions | Problem of the Day | GeeksforGeeks
POTD- 06/12/2024 | Find H-Index | Problem of the Day | GeeksforGeeks
Переглядів 19921 день тому
POTD- 06/12/2024 | Find H-Index | Problem of the Day | GeeksforGeeks
POTD- 05/12/2024 | Sort 0s, 1s and 2s | Problem of the Day | GeeksforGeeks
Переглядів 11521 день тому
POTD- 05/12/2024 | Sort 0s, 1s and 2s | Problem of the Day | GeeksforGeeks
POTD- 04/12/2024 | Strings Rotations of Each Other | Problem of the Day | GeeksforGeeks
Переглядів 4421 день тому
POTD- 04/12/2024 | Strings Rotations of Each Other | Problem of the Day | GeeksforGeeks
POTD- 03/12/2024 | Min Chars to Add for Palindrome | Problem of the Day | GeeksforGeeks
Переглядів 32021 день тому
POTD- 03/12/2024 | Min Chars to Add for Palindrome | Problem of the Day | GeeksforGeeks
POTD- 02/12/2024 | Search Pattern (KMP-Algorithm) | Problem of the Day | GeeksforGeeks
Переглядів 67421 день тому
POTD- 02/12/2024 | Search Pattern (KMP-Algorithm) | Problem of the Day | GeeksforGeeks
POTD- 01/12/2024 | Non Repeating Character | Problem of the Day | GeeksforGeeks
Переглядів 4221 день тому
POTD- 01/12/2024 | Non Repeating Character | Problem of the Day | GeeksforGeeks
POTD- 30/11/2024 | Anagram | Problem of the Day | GeeksforGeeks
Переглядів 5828 днів тому
POTD- 30/11/2024 | Anagram | Problem of the Day | GeeksforGeeks
POTD- 29/11/2024 | Add Binary Strings | Problem of the Day | GeeksforGeeks
Переглядів 5428 днів тому
POTD- 29/11/2024 | Add Binary Strings | Problem of the Day | GeeksforGeeks
Were all the rounds virtual ?
The question was a simple dfs right? btw how many days did it took to get an interview call after the oa
👍
no worried bro you will make something big than amazon just keep working! thanks a lot for interview experience❤❤
but understoor
from middle of the video
ohh
audio not available
expected is linear,
why c++?
reuploaded
Bro you won't sleep?..
slept late
@@PulkitMalhotra 🫡
Thank you sir
Nice Explanation
Thank you
Sir tell more about the class 10 coding
just solve striver A2Z sheet
Thanks a lot for uploading early 🙏
I always start practicing DSA questions, but I am unable to stay consistent for 2 to 3 days. I get stuck, and I’m unable to think through the question or create a solution. I feel demotivated and tired of solving questions when they start to feel hard.
it happens to everyone in starting. keep pushing yourself, you can do it
Can you give list of questions for logic building
just follow striver A2Z sheet
very nice explanation , was not getting clear from others
NICE SUPER EXCELLENT MOTIVATED
clear approach and intution
Great concept pulkit sir 😊
you uploaded the same video...
question is same. check the code in description for reference
There's a slight change between Majority Vote and Majority Vote 2, so read the problem description and check out the solution in the description box.
your code is wrong very strange how it passed in the first place.. return any index pair(i, j) in an array such that sum(arr[0..i]) = sum(arr[i+1..j]) = sum(arr[j+1..n-1]) per your code, your i would always be 0...
It is working fine. Check 10:22. As you already said sum(arr[0..i]) and we can return any pair so in the first pair i is 0 and i am returning the first pair indices.
it's not working, and why are you using -- (0,end) ?? how will that divide the array in 3 parts ? also u created freq but didn't use it anywhere...
class Solution { static int minRepeats(String s1, String s2) { // code here int ans = 0; StringBuilder sb = new StringBuilder(); boolean[] set1 = new boolean[26]; boolean[] set2 = new boolean[26]; for(int i=0; i<s1.length(); i++){ char ch = s1.charAt(i); set1[ch-'a'] = true; } for(int i=0; i<s2.length(); i++){ char ch = s2.charAt(i); set2[ch-'a'] = true; } for(int i=0; i<26; i++){ if(set2[i] == true && set1[i] == false ){ return -1; } } while( sb.length() < 2 * s2.length() ){ sb.append(s1); ans++; if(sb.toString().contains(s2)){ return ans; } } return -1; } }; why is my code giving TLE,
Try to upload early 🙏
Sure. I will try my best to upload early
kindly explain space and time complexity of each problem...
i explained the T.C. & S.C.
@PulkitMalhotra ok 👍
We can simply take transpose and reverse it... ?
transpose will take extra space
@PulkitMalhotra ok 👍
sir will you upload videos daily?
definitely
atlast I found video in english thankyou..
Great Thanks
in my side they were giving only one paramter as head of the linked list ,not a array ,low and hight and queestion also as oneline not as you showing a question why?
just build a function. For reference check code in description.
would you please give me the link of quick sort problem?
check description
@@PulkitMalhotra quicksort problem in gfg
www.geeksforgeeks.org/problems/quick-sort/1?itm_source=geeksforgeeks&itm_medium=article&itm_campaign=practice_card
Bhai English mei nahi aa rha hai toh Hindi mei daal de Aaj hi global audience attract krega kya ye bta Matlab kuch bhi daalo explanantion dekh tu pehle bhai apni
I'll try to be more concise in the future.
nice explanation bro
Explanation is very poor, you getting stuck in between explanation breaking the momentum of explanation.
I'll try to be more concise in the future.
@@PulkitMalhotra ok bro np
great explanation
Great explanation, you covered what I couldn't 🙌🙌
voice is very low please next time explain with a louder voice
okay
i would suggest to type the code instead, like u did yesterday, it may take more time, but it's better...
I had less time yesterday so I did the coding while making the video.
can you solve this question without using hashmap
We can use array but that will be costlier in terms of space complexity.
I requested to explain quetion fully. I don't know where i missed I didn't understand the question also
okay
Did you even understand the P.S. ? Please don't do this for views by copying the code from comments and explaining it.
There's a high chances that you are not a Java programmer. In the driver code XOR function is not written.
Check out this video (C++ language) : ua-cam.com/video/JCDxVovAIRo/v-deo.html
Keep it up brother
Hangup (SIGHUP) Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 41 out of bounds for length 41 at GFG.main(GFG.java:18) I am getting this, can you please check yours, I have reported this issue, even with your code this is coming for a very big test case
that error is now fixed and only shown when using as custom input, data is too huge more than 50, 000 chars that's why my code gets this, even though it's same as yours, except variables names.... even chatgpt didn't find any issues and not much difference in our code.. Hangup (SIGHUP) Exception in thread "main" java.lang.StackOverflowError at Solution.dfs(GFG.java:47) at Solution.dfs(GFG.java:47) at Solution.dfs(GFG.java:47) at Solution.dfs(GFG.java:47) at Solution.dfs(GFG.java:47) at Solution.dfs(GFG.java:47) at Solution.dfs(GFG.java:47) at Solution.dfs(GFG.java:47) at Solution.dfs(GFG.java:47) at Solution.dfs(GFG.java:47) at Solution.dfs(GFG.java:47) at Solution.dfs(GFG.java:47) at Solution.dfs(GFG.java:47) at Solutio
Hi u were stammering a lot can u pls speak in hindi
Hi, i am improving.
great explanation bhaiya
Kal se kuch n kuch problem aari hai geeksforgeeks mai code bhe sahi hota hai, fir bhe problm aari hai..
Ha bilkul, sahi kaha
what if there are more than two elements of frequency more than n/3 ?
it can not be possible.
The freq. have to be greater than n/3 >n/3 There's only two values possible Let's Take the min. freq a freq = (n/3)+1 b freq = (n/3)+1 n - (a freq) - (b freq) n - (n/3 + 1) - (n/3 + 1) n - 2n/3 - 2 (3n - 2n - 6)/3 (n-6)/3 n/3 - 2 Means third candidate freq is not greater than n/3