This Is How You Should PRACTICE Coding in 2022 🔥The Ultimate Guide To Practice On GeeksForGeeks

This Is How You Should PRACTICE Coding in 2022 🔥The Ultimate Guide To Practice On GeeksForGeeks


This Is How You Should PRACTICE Coding in 2022 🔥The Ultimate Guide To Practice On GeeksForGeeks

Practice is an important aspect of Learning to Code. No matter how well you’re with your theory, If you have not practiced well, You will face difficulties in actual implementations.

Practice on Geeksforgeeks: https://practice.geeksforgeeks.org/

🥳 Join our Telegram Community:
Telegram channel: https://telegram.me/realanujbhaiya
Telegram group: https://telegram.me/dsa_one

Follow me on:
Instagram: https://www.instagram.com/Anuj.Kumar
Linkedin: https://www.linkedin.com/in/sharma-ku
Twitter: https://twitter.com/realanujbhaiya

╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝

Complete DSA Playlist:
DSA-One course:    • Time Complexity \u0026 Big O notation | An…  

Complete Android Development Playlist:    • Android Development Tutorial for Begi…  


Hashtags:
#anujbhaiya #dsa #practice


Content

0 -> Hey, what's up guys, Anuj here.
0.851 -> And in today's video, we're going to talk about how you should practice coding
4.286 -> the best, ultimate way - the ultimate guide to practice coding
7.615 -> we're going to discuss it in today's video.
9.571 -> When we're practicing coding, we know that
11.658 -> practicing is a very important part of any programming journey
15.358 -> But while you're practicing, then I do get doubts
18.03 -> even when I was in the phase of my practicing journey of programming
22.714 -> then it used to happen which I'll share with you all
25.714 -> that we visit different websites and spend hours
29.229 -> and even after spending hours, we don't get the desired output
32.185 -> at the end of the day.
33.4 -> We were practicing questions but still, we don't get a sense of satisfaction
37.131 -> we still have a sense of doubt that
38.971 -> if this question arises again, then we might not be able to do it
41.5 -> We're going to practice questions but we're not able to solve it
44.787 -> We're not able to understand the logic.
46.3 -> And it happens, if you'll know what's the root cause
49.558 -> then it comes out to be that you all are not practicing properly
53.115 -> I have faced this myself
54.171 -> alright!
54.734 -> I used to face this earlier but now the scenario has changed
57.137 -> But now the situation is that, if I've an interview tomorrow
59.943 -> still, I've enough confidence
62.069 -> that's okay, it's a coding interview. I'll be able to pass it.
65.814 -> Practice is enough and I've got the knowledge about how to practice
70.032 -> So, today I'm going to guide you properly and tell you about an amazing resource
74.077 -> that is how you should practice if you need to do it topic wise
78.286 -> if you need to practice company-wise, how you need to move forward
82.271 -> and the best way
83.886 -> I'm going to share the best resource with you in today's video.
86.807 -> The resource that I'm talking about - you already know about it
89.565 -> it's very famous
90.587 -> wherever you're in engineering or related anywhere in the computer programming
94.144 -> then you must know about this website
96.515 -> you might have guessed it till now
97.944 -> yes, it is Geeks for geeks.
99.543 -> And you all know it because this is one of the best websites.
102.6 -> That is why you know it.
103.671 -> Whenever you search for anything, you find Geeks for Geeks.
106.057 -> But, you might say that we were talking about practice.
108.234 -> It's that whenever we need to find any article
110.9 -> we search google and find Geeks for Geeks.
113.871 -> Can we even practice on Geeks for Geeks?
115.532 -> Yes, we can.
116.386 -> Geeks for Geeks has improved the practice platform a lot.
119.617 -> and today we'll be talking about the practice on Geeks for Geeks.
122.943 -> So, whenever you practice it's important to keep 3 things in mind.
127.315 -> Let's talk about those 3 things first then we'll
129.471 -> talk about the practice of Geeks for geeks
132.087 -> alright!
132.658 -> And how you all should practice in the best way!
135.329 -> We'll talk about that.
136.1 -> First of all, we need to keep 3 things in mind.
138.072 -> Firstly, whenever you're going to practice
140.579 -> the concept that you're practicing your question upon
144.472 -> you should have enough knowledge of it.
146.423 -> You should know the basics - its theory
148.771 -> you should have seen some easily solved questions as well
152.372 -> earlier itself.
153.114 -> Then only you've to move inside.
154.657 -> You know that - you need to study binary search
156.215 -> You've to study the binary search tree
157.5 -> until I practice for the Binary search tree, then I won't be able to do its concept
163.275 -> If I went only after studying theory in the interview
166.072 -> then I'll make mistake somewhere
168.463 -> I'll make mistake somewhere in the base cases.
170.271 -> If you don't trust then you can try it for yourself
172.364 -> the code of Delete, node and binary search tree
174.287 -> if you'll try to do it then, the majority of people will be making a mistake
177.287 -> somewhere or the other
178.006 -> alright!
178.886 -> So, practice is very important in that case.
181.243 -> But, before practice, you should know what a binary search tree is.
184.857 -> you won't directly jump into the question that is why
187.325 -> you should know the theory. This was the 1st point.
189.871 -> The second point is that you don't need to directly do medium or hard questions
193.945 -> you should do easy questions first, then medium
197.072 -> then after that do the hard questions
198.757 -> Alright!
199.343 -> With this, you might have done enough easy questions
202.301 -> then you might not even know when you'll be able to do medium questions
206.977 -> and when you would have done enough medium questions
210.064 -> then you would be able to do hard questions as well
212.757 -> alright!
213.5 -> there isn't any fine line, which needs to be crossed by a step
217.801 -> It's not that!
218.8 -> it's a very vague line
219.871 -> you'll not even know when you'll move out of the easy territory to the medium
224.114 -> and I'm telling you this by a lot of experience.
226.388 -> And the third point is to stay consistent.
228.315 -> don't ever let the consistency break.
230.657 -> If you need to stay confident that I've got an interview tomorrow and
232.744 -> I'll crack the interview. You need this type of confidence then
235.372 -> never let the consistency break.
237.586 -> My consistency hasn't been broken until now.
239.334 -> Now, its been 2-3 years since I left college
242.9 -> and I've left companies for a long time but still
245.687 -> I don't let the consistency break.
248.057 -> I've one or the other questions in mind
250.643 -> Sometimes while I'm practicing with my brother or
252.872 -> sometimes I come across a good question and I'm thinking about it.
255.988 -> So, you shouldn't let this consistency break and need to practice as well.
259.029 -> You need to type on the keyboard as well.
261.027 -> It doesn't happen only by thinking.
263.211 -> if you've thought about it in mind and when actual implementation comes
266.028 -> then you might not be able to do it.
267.357 -> So, these 3 things need to be kept in mind.
269.371 -> And all of these 3 things are fulfilled from the Geeks for Geeks website.
274.143 -> Now, talking about how to practice Geeks for Geeks, so
276.657 -> if you'll open Geeks for Geeks - GeeksforGeeks.org
279.686 -> then you'll say that there are so many things inside it.
284.257 -> that we're not able to understand from where we're going to start
286.657 -> and where to end
287.372 -> So, what you're thinking is correct because
290.147 -> you can see here, that there are a lot of things
292.257 -> Data structures, algorithms, interview preparation
293.915 -> they've divided into a segment because
295.972 -> it has a breadth of knowledge inside it
298.286 -> The breadth of knowledge is stored in it.
300.3 -> So, it's important for you to choose your path
303.387 -> but, today I'm going to show you all
305.087 -> the second variant of Geeks for geeks
307.157 -> on the second page of Geeks for geeks
308.587 -> where everything is very streamlined
311.716 -> and you should practice in this way only
315.314 -> So this is www.GeeksforGeeks.org
317.5 -> we don't need to go in it. Instead, we've to visit practice.GeeksforGeeks.org
321.2 -> and for that, if you click on courses
323.786 -> then you'll come to practice.GeeksforGeeks.org
326.429 -> this is practice.GeeksforGeeks.org
328.714 -> and this is their homepage
330.671 -> Bookmark this. I've already done it.
333.4 -> By that, you can reach it quickly.
335.757 -> So, this is the page and you can see that there aren't many options on it.
339.372 -> It's very finite and we're going to talk about
342.526 -> majorly 2 things with you.
345.8 -> firstly, the problems part and secondly, the POTD part
349.165 -> First let's talk about, problems.
350.358 -> POTD means the problem of the day.
352.157 -> they've made it amazing and the 3 things that I've told you
354.971 -> that you'll have to start learning. You know that theory on GeeksforGeeks
359.323 -> then after that you've to practice questions on it - easy, medium, hard.
363.171 -> If you've to practice company-wise, then also you can do it very easily
365.6 -> and then, finally being consistent
368.043 -> GeeksforGeeks also helps in it so
370.112 -> that is why we're talking about it today
371.882 -> Alright!
372.271 -> So, let's start with if we visit the problems section then here we'll
375.464 -> see that there are a lot of problems
377.314 -> Each problem is very nice---- Now UI has changed a lot
381.029 -> when I was in college, I remember there wasn't this nice UI
384.798 -> and there was a lot of confusion. It used to vary.
388.114 -> So, now in the matter of UI it's been a lot better.
390.657 -> and now you all have multiple features provided in it.
393.557 -> First of all, problem type.
394.615 -> If you want to solve the full problem, means you want to write the entire code yourself
398.2 -> entirely, from class until function.
400.287 -> You want to write entirely yourself.
401.56 -> Then you can go on to full problems.
403.343 -> Otherwise, you need to solve only one function that I'm observing these days
407.215 -> coding contests of multiple companies
410.486 -> they directly give functional questions/problems in coding tests so
415.044 -> you can directly practice that
417.157 -> alright!
417.757 -> And then, you can bookmark the problems, then
419.757 -> you can set the difficulty level
421.171 -> like School, medium, easy, hard
424.029 -> and then you can sort these questions on the basis of submissions
427.386 -> which has the large no. of submissions, which has most no. of queries
429.601 -> which is the newest question,
431.398 -> so these features were already in it
433.192 -> then you can practice company-wise if a company is visiting
436.472 -> then you can practice accordingly
438.486 -> Now, let me show from inside how the UI has transformed and changed everything
444.014 -> Alright!
444.9 -> Okay!
445.614 -> the question is, for example, check for BST
448.129 -> inside it, if you've not opened GeeksforGeeks for many days then
452.076 -> it has reformed very much
453.76 -> the entire system
455.371 -> Now, editorial, submission, and doubts support have different sections each
462.086 -> UI has been reformed. One more thing
463.757 -> Earlier, I remember, the test cases that were there
466.544 -> they were like, we could solve 2-3 test cases and
470.349 -> it might be that our code won't work on multiple test cases
473.329 -> Now, it has been fixed as well.
474.614 -> Multiple test cases have been put in it for you
477.157 -> Alright!
477.774 -> And, now it's not that you solved a question
481 -> and if its takes 5-6 seconds for the submission, it'll still be accepted
485.015 -> earlier, it happened.
486.358 -> Now, it isn't that.
487.264 -> And if you want to be able to solve it, then you'll get 2 points
489.739 -> Alright!
490.386 -> You collect these points, through which your ranking increases
494.771 -> your monthly ranking increases, your overall ranking
498.015 -> college-wise ranking increases, you tell that you're from this college then
502.186 -> it also tells your ranking in the college
504.079 -> then you can see that in your college, this person is above you
506.687 -> this person is below you
507.969 -> Alright!
508.479 -> So, it's very good in that case.
510.798 -> Alright!
511.261 -> Apart from that if you're not able to solve the question then directly
515.805 -> you can move on to the editorial of GeekforGeeks
518.243 -> you know that if you want to search for any question
520.618 -> in GeeksforGeeks, you get its solution very quickly
524.414 -> apart from that, you can see your past submissions
527.02 -> that how did I do earlier and now how am I going to do it
531.519 -> so this was its overall interface. It's a very defined interface.
535.857 -> Again, if we talk about it then you've to first start with easy
539.218 -> then medium, then hard. So first, we'll go to easy problems
541.855 -> Alright!
542.287 -> Let's remove the company tags.
543.671 -> If you want to practice topic-wise, which you should
547.101 -> so first of all, suppose we went to mathematics
549.773 -> then we've to do only easy questions of mathematics
552.154 -> Once you've done enough easy questions
554.186 -> when will we know to move from easy to medium
556.53 -> once you've done enough easy questions and now you feel that
558.858 -> this question has been solved in a blink
560.9 -> then you'll feel the inner sense
563.843 -> you feel that slowly
565.814 -> when you feel that this question can be solved in a blink
568.389 -> then you'll yourself shift to medium questions
571.493 -> then you'll start doing medium questions and when you'll start to feel
574.095 -> medium questions can be solved in a blink, its logic is easy
577.372 -> then you've to move onto hard
579.087 -> Okay!
579.437 -> So in this way you've to practice easy, medium and hard questions here
582.371 -> there are multiple topics, as you can see here
585.529 -> Right!
585.929 -> These are all of the topics and it's important to know about every topic
589.272 -> if you want to crack interviews
591.729 -> so visit each of the topics one-by-one
594.114 -> do easy questions, then medium, then hard
597.586 -> if a company is visiting and wants to know what type of questions
601.243 -> is generally asked in this company
602.557 -> it's still a better website
603.915 -> you just have to
606.5 -> select the company tags
607.672 -> suppose in amazon
609.814 -> I'll get all of the mathematical questions over here
613.284 -> Okay!
613.787 -> al the easy ones
614.767 -> if you want to see medium questions then you can search it like this
618.13 -> so in this case I felt the UI was better
621.282 -> and you can see all of it above that what all filters have you applied
624.943 -> and you can even change these filters
626.965 -> now let's talk about the second thing
628.586 -> by which GeeksforGeeks is helping to improve your consistency in practice
632.33 -> which is POTD
633.971 -> the problem of the Day
635.286 -> I felt that this concept was amazing.
636.996 -> Basically, you can solve daily one question over here, right!
640.346 -> And right now everyone might be able to see it.
643.044 -> Largest rectangle of 1s with swapping of columns allowed
646.457 -> okay! So, its a very good question.
647.683 -> Its a hard question. Medium and hard questions are given over here
649.703 -> so this is a hard question.
651.6 -> let's think about how the question will be solved.
655.286 -> So basically, you're given an array in which there are 0s and 1s
658.371 -> so, actually, I've done this question in which swapping wasn't allowed
661.986 -> but
663.5 -> there are rectangles of 0s and 1s and you've to tell the maximum rectangle so
666.33 -> for that. You'll do maximum area in a histogram
669.872 -> then you'll move downward row by row
671.657 -> here, swapping of columns is allowed so you can do one thing
675.571 -> that you go on sorting
678.529 -> basically, this can be one way.
680.229 -> That goes on to each row and sort and then since swapping is allowed
684.544 -> then you can keep the higher rectangles on one side.
688.658 -> and you can bring it from that, what can be the maximum area, right!
692.299 -> because you can find the maximum are from it.
694.222 -> from there you can find time complexity if there are R rows and C columns
698.586 -> O(r)
700.057 -> times c
701.506 -> times log c because log would be there in sorting
705.343 -> Right!
705.837 -> So, basically, why am I discussing questions?
709.229 -> Alright!
710.043 -> So, in this way its the problem of the day.
711.391 -> The main thing of the practice of the day is
713.444 -> when you're practicing in it, you get coins
716.252 -> alright!
716.571 -> And by using those coins you can.....
720.255 -> And one more thing
720.939 -> that the question is discussed daily on the Youtube channel
723.978 -> so, if you're stuck, you're not able to understand it then
727.257 -> you can visit their youtube channel how is it going to be solved
730.477 -> Right!
731.057 -> So, I found this thing very cool.
733.271 -> Here it is.
733.557 -> POTD Handbook
734.757 -> So when you visit here, then you get a Geekbit.
737.086 -> These are basically coins and by using them you can
740.171 -> buy many merchandise and amazon voucher coupons
744.472 -> so I've a younger brother, who has actually bought it
747.603 -> right!
748.071 -> So, I find this thing very interesting.
751.371 -> So, definitely its worth checking out and
753.843 -> you'll be practicing daily-daily it won't let your consistency break
757.401 -> basically, it'll improve your consistency slowly if you solve a question daily
761.951 -> apart from that you directly get its submission that
765.258 -> how actually the person thinking about this question
767.771 -> so, that is also very interesting.
769.457 -> Alright!
770.03 -> So this was it. And apart from that basically, there are other things like
773.614 -> they've given courses
774.637 -> So, GeeksforGeeks have its own courses.
777.043 -> You can access those courses.
779.457 -> There is a section they have added called get hired.
781.587 -> Where multiple companies are hiring through GeeksforGeeks
784.571 -> apart from that, there are other events I think
787.371 -> these are all the events where some people come
790.871 -> so basically, these are the events but the most important thing was
794.075 -> that I wanted to tell you was that yes, you can practice on GeeksforGeeks
797.486 -> there is a lot of knowledge in GeeksforGeeks
799.763 -> you might know that, whenever you search for something
802.058 -> the link for GeekforGeeks opens
803.48 -> geeksforGeeks contains a lot of knowledge
805.624 -> but how to utilize it in the best way
808.6 -> I've tried to tell you about that
809.972 -> how you can practice in the best way
812.7 -> because if you haven't practiced properly then even if you've got a lot of knowledge
816.686 -> that won't come in handy at the correct time
820.214 -> Alright!
820.657 -> So, you've to practice properly.
822.327 -> You've to do a streamlined practice
824.176 -> and things will get better on its own.
827.052 -> Alright!
827.614 -> So, this was the main motive of this video.
829.486 -> Do tell me how the video was.
830.986 -> If you're still struck somewhere, then do tell me, in the comment section.
833.972 -> I'll try to help you.
835.786 -> and with that its time to depart.
836.838 -> We'll meet in the next video.
837.701 -> Do like the video, subscribe to the channel.
839.201 -> I'll meet you all in the next video.
840.158 -> Bye! Bye!
840.818 ->

Source: https://www.youtube.com/watch?v=dXWrjxM9OEA