I Solved 100 LeetCode Problems

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

Комментарии • 221

  • @Green-Code
    @Green-Code  Месяц назад +25

    Go to brilliant.org/GreenCode/ to learn more about Computer Science with a free 30-day trial and 20% off the premium subscription!

    • @mz2760
      @mz2760 Месяц назад +1

      try to solve 100 problems in codeforces

    • @mz2760
      @mz2760 Месяц назад +1

      make a video about codeforces

    • @mz2760
      @mz2760 Месяц назад +1

      we want a video about how to improve problem solving skills using codeforcrs

    • @bbrother92
      @bbrother92 Месяц назад

      Hey what was most common solution pattern?

  • @sowoul_
    @sowoul_ Месяц назад +329

    im a leetcode knight (1872) and have 600 problems solved.
    Always lovely to see new programmers start leetcoding!

    • @sinatfahad2283
      @sinatfahad2283 Месяц назад +11

      I literally SUUUUCK at DSA. Can you guide me like how I should start learning and practicing? Although I have been saving playlists but getting too tough to understand.

    • @Green-Code
      @Green-Code  Месяц назад +16

      Wow. Respect.

    • @scarymojo5809
      @scarymojo5809 Месяц назад

      @@sinatfahad2283 Learn basic dfs, bfs, binary search and how hashmaps and arrays work and that should be enough to start practicing. I would look up dfs algorithm etc. for all those topics and once you feel like you understand them conceptually, solve a leetcode easy to reinforce your knowledge. This should be enough to start.

    • @PixVox
      @PixVox Месяц назад +1

      How long did it take

    • @LordVlader
      @LordVlader Месяц назад

      @@sinatfahad2283 Start by watching the DSA video from freeCodeCamp. It's explaining the very basics in an easy to understand way.

  • @ohimdabiggestbird
    @ohimdabiggestbird Месяц назад +118

    bro the lip syncing on your animations are mad accurate i love it

    • @harshvardhan-d5e
      @harshvardhan-d5e Месяц назад

      he made them manually or used some AI product ?

    • @JuzuButFake
      @JuzuButFake Месяц назад +2

      @@harshvardhan-d5e 100% manually

    • @goos42
      @goos42 6 дней назад +1

      ​@@harshvardhan-d5e my guess is some sort of program which takes his mic audio and when it sees a certain volume spike or some other pattern it changes the sprite.
      At least that's how I would do it

  • @Latestfit
    @Latestfit 28 дней назад +25

    HOW TF ARE YOUR ANIMATIONS SO ON POINT, even the lipsyncs are so accurate

  • @ZaneMouakket
    @ZaneMouakket Месяц назад +54

    11:21 Both of those solutions are DFS, one is iterative DFS, one is recursive DFS

    • @Green-Code
      @Green-Code  Месяц назад +9

      Yeah yeah I know :) I just think recursive DFS is so much cooler

  • @chandanr4303
    @chandanr4303 Месяц назад +20

    Excited to see you back but didn't expect u to get on leet code but it works because I am kind of looking to solve leet code problems too so a boost for me ig

  • @KenesuEXE
    @KenesuEXE Месяц назад +7

    I like the learn first then answer next leetcode approach, especially as a self-learner

  • @zerocoolcorp9517
    @zerocoolcorp9517 Месяц назад +246

    Do Codeforces next, and try to reach Specialist in a month

    • @Green-Code
      @Green-Code  Месяц назад +70

      Haven't tried Codeforces. I'll take a look. I don't know what specialist is, but it sounds hard lol

    • @zeroanims4113
      @zeroanims4113 Месяц назад +22

      you know that's impossible right lol

    • @SamDaBest
      @SamDaBest Месяц назад +3

      It’s not that hard tbh. But you definitely need to work harder than doing leetcode

    • @higgsboson6274
      @higgsboson6274 Месяц назад +2

      Specialist in 1 month will be tough pupil in one month might be good

    • @stoppls1709
      @stoppls1709 Месяц назад +12

      beat tourist in 1 hour

  • @musab9334
    @musab9334 Месяц назад +17

    I just solved my 100th question today on Leetcode, with 5 hard and 41 medium, and, it was hard. Really. I struggle a lot without the help of hints or AI when I'm stuck with the algorithm or the optimisation. When I see a question, I know how to solve and the algorithm appears on my head in a few seconds but since I cannot use AI tools on coding interviews, I feel demotivated to debug my code and just give up depending on the hardness of the problem.

    • @HamzaHamouch-d9b
      @HamzaHamouch-d9b Месяц назад

      You're self taught ?

    • @musab9334
      @musab9334 Месяц назад +4

      No, I'm a Bsc CS student at university. I will graduate summer 2025 so I'm grinding leetcode already

    • @testAccount-eb2ve
      @testAccount-eb2ve Месяц назад

      Just hard work and patience, you'll get there!

  • @devinalexander7265
    @devinalexander7265 4 дня назад

    Idk how u haven’t blown up yet, ur videos are fantastic. Favorite coding Chanel next to code bullet.

  • @BrianDevJourney
    @BrianDevJourney Месяц назад +2

    Respect for the dedication. I emailed you about a sponsor opportunity. Cheers!

  • @adbb1404
    @adbb1404 Месяц назад +56

    Gg i have 2 hard, 64 solved and am rank 1.3M. hats off to you

    • @pd5873
      @pd5873 Месяц назад

      Bruh that's literally me....but i hve solved 22 medium nd 1 hard till now can u tell which hard question u attempted?

    • @pratik.0010
      @pratik.0010 Месяц назад

      ​@@pd5873 merge k sorted linked list

    • @I61void
      @I61void 18 дней назад

      I’m similar, I got like 5 hard, 52 med, 82 easy, I’m like 700k

  • @RobinKlok20
    @RobinKlok20 Месяц назад

    Really love your edit style and your way of entertaining / explaining. Keep on the good work👏🏼

  • @MianUsmanjaved-ht7lg
    @MianUsmanjaved-ht7lg Месяц назад +1

    Bro, what amazing storytelling and what an incredible video! 🔥🌟

  • @nagadioy9859
    @nagadioy9859 Месяц назад +1

    Bc you went to a library at 11PM, imma subscribe

  • @acid_heart22
    @acid_heart22 Месяц назад

    Bro, I am subscribed to you since you had less then 10 subs, really happy to see you pop off, great content 🔥🔥🔥🔥

  • @divine203
    @divine203 Месяц назад +4

    Once you land ur first job. You completely forget this platform exists lol. Awesome video 🔥

    • @Green-Code
      @Green-Code  Месяц назад +2

      Dude I've watched your videos! They're sick!

    • @divine203
      @divine203 Месяц назад +2

      Broo, same here. Your videos are awesome. love your character design btw 😅

  • @reyankhan4702
    @reyankhan4702 Месяц назад +7

    Dude, you're awesome. I had a huge leetcode phobia and you completely solved it ! Idk how to thank you.

  • @NikolaJanjic.
    @NikolaJanjic. Месяц назад +1

    Damn, first time seeing you channel and I'm in love with it haha I wish you all the best!

    • @Green-Code
      @Green-Code  Месяц назад +1

      Appreciate that dude :)

  • @xqasazas2026
    @xqasazas2026 23 дня назад +3

    What did you do before leetcode problems bro?
    how do u exactly "learn"?

  • @blaseyojali
    @blaseyojali Месяц назад

    Edith is awsam bro. The way you explained was great.

  • @mz2760
    @mz2760 Месяц назад +13

    try to solve 100 problems in codeforces

  • @chiefkeeflover2006
    @chiefkeeflover2006 Месяц назад

    so glad that your channel is growing bro

  • @RasamRohit
    @RasamRohit Месяц назад +1

    Took you 4 hrs for 12 questions!!!
    Took me 4 hours for 2 questions that too 1 easy and 1 medium so I guess you are doing much better😅😅

  • @kpunkt.klaviermusik
    @kpunkt.klaviermusik Месяц назад +4

    8:28 "Imagine you have this really, really long list of nubers..." I laughed so hard :D

  • @AnandaKrishna-t3h
    @AnandaKrishna-t3h Месяц назад +1

    I agree 100% when you say "hard" problems are impossible to solve

  • @reyankhan4702
    @reyankhan4702 Месяц назад +1

    Alright, I have decided. I will also do a hundred leetcode problems now.

  • @onlinealias622
    @onlinealias622 Месяц назад

    Noice, I started doing leetcode last fall, did 585 problems, and now work for a FAANG. I’m still going though, I slowed downy pace bit but I’m at 660 now. At this point I may as well try to do them all lol

  • @KayaSilly0
    @KayaSilly0 Месяц назад

    Should I give this a shot? I don’t want a tech job or anything, and I’m pretty nooby at programming in general, so I’m not sure I could solve the problems!

    • @testAccount-eb2ve
      @testAccount-eb2ve Месяц назад

      Doesn't hurt to try, may be difficult since some of them require algorithm and data structure knowledge

  • @AvionicsDev
    @AvionicsDev Месяц назад +1

    I also play table tennis...Ma Lin is a Dope player 🙌

  • @Ahmad_Faraj
    @Ahmad_Faraj Месяц назад

    Very cool idea
    maybe even consider competitive programming and Codeforces because it's so much fun too

    • @Green-Code
      @Green-Code  Месяц назад +1

      I'll look into it :)

    • @Ahmad_Faraj
      @Ahmad_Faraj Месяц назад

      @@Green-Code about Competitive Programming
      Can you make a video about you participating in Meta Hacker cup
      it starts next week
      it's like a online contest consists of 4 rounds
      document your experiment
      I think that would be really cool

  • @zanies6288
    @zanies6288 Месяц назад

    Cool vid! Tho I am close to 2100 on LC contests, and even I don't think that I am anywhere close to "Ma Lin's" skill level. Think you underestimated that dude lol.
    Also I am pretty sure that account is from a former GM on cf who is a huge fan of Ma Lin.

  • @shubhampawar1226
    @shubhampawar1226 Месяц назад

    Glad to be an early follower of you, youre gonna go big!

  • @akhildonthula6160
    @akhildonthula6160 Месяц назад +1

    I find you videos very cool and funny... don't stop making videos...i am waiting for next videos

  • @ganeshniranjan895
    @ganeshniranjan895 Месяц назад

    Awesome Bro .. nice work and inspiring

  • @NexusCoderX
    @NexusCoderX Месяц назад

    Too good man!! Your inspiring to someone like me who hasent even started 😢

  • @chadchailife988
    @chadchailife988 Месяц назад

    Cool, I enjoy how you present your content.

  • @GrowMode_YT
    @GrowMode_YT Месяц назад

    Your channel is a PG Code Bullet, and i love it

  • @sandeshchordiya6801
    @sandeshchordiya6801 Месяц назад

    Good Video, Just Checking in

  • @quallejellyfish7413
    @quallejellyfish7413 Месяц назад

    good video im gonna try out leetcode too now

  • @ReshabSharma-q8e
    @ReshabSharma-q8e Месяц назад

    I wouldn't still be watching your videos irrespective of other watch or not.

  • @ベロラ
    @ベロラ Месяц назад

    I can't get over the fact that your name is GREEN CODE man

  • @VinceePlayz
    @VinceePlayz 12 дней назад

    we can use counter for first problem

  • @savagesarethebest7251
    @savagesarethebest7251 22 дня назад

    02:04 it is really weird looking with the spikes in the graph, I would guess they have some trouble measuring the performance of the code

  • @Clacksper
    @Clacksper Месяц назад

    lmaoo i literally just opened leetcode 5 min ago (which i never do) and now u upload this

  • @JProgrammingTech
    @JProgrammingTech Месяц назад +3

    I wish, only 4 questions in rn, started c++ like a week ago. Long road in front but oh well it will be worth it ig. What language did you start with?

  • @aadhithyavenkatesan4242
    @aadhithyavenkatesan4242 Месяц назад +7

    4:01 bro just spoke in Tamil language. The word NAGARAM means range of place like states

    • @TutorialTechie
      @TutorialTechie Месяц назад +3

      there is also the same word in malayalam too with same meaning

    • @Green-Code
      @Green-Code  Месяц назад +2

      Ohh no way that's funny

  • @davidferty
    @davidferty Месяц назад +2

    when I saw hashing I thought it was about building a hash algorithm like md5.😢😢

  • @tarekelectron
    @tarekelectron Месяц назад

    Wow ,you make me felling motivated now ❤😂

  • @Tart-gs3kj
    @Tart-gs3kj 19 дней назад

    would it be smart to try and learn to code using leetcode?
    i want to get into coding but i dont know what to code, so this could be a nice start right?

  • @buffettmorandini508
    @buffettmorandini508 Месяц назад

    By the way, Mai Lin leetcode profile isn't actually him according to chinese journalist

  • @Overlycomplicatedswede
    @Overlycomplicatedswede Месяц назад

    i just hit my 150 solved milstone not long after this video went live, leetcode is great for somone like me (a C++ dev) trying to learn python lol

  • @anjaliupadhayay839
    @anjaliupadhayay839 Месяц назад

    came to yt after solving leetcode problems just to watch another person solve them :)

  • @manuelteres7583
    @manuelteres7583 Месяц назад

    What an absolute legend

    • @Green-Code
      @Green-Code  Месяц назад

      I deeply value and greatly appreciate that remark Dr. Teres :)

  • @HELPME-g2p
    @HELPME-g2p Месяц назад

    Finally you uploaded a video 🎉

  • @Luis_1605
    @Luis_1605 Месяц назад

    why am I watching this, I have never seriously coded in my life?! Still entertaining though

  • @ahmednazar765
    @ahmednazar765 Месяц назад +1

    How long did this take you, and for someone who is pretty familiar with CS and programming but hasn't learnt DSA, how long do you think one can learn DSA in?

    • @Green-Code
      @Green-Code  Месяц назад

      I still gotta learn a bunch more, like a lot. But it took me like a month or so I would say. If I can do it, you can do it (and probably much faster than me)

  • @awful999
    @awful999 Месяц назад

    you’re cracked

  • @skylo706
    @skylo706 Месяц назад

    I am really interested in how long you have been coding. You said your unemployed (if it wasnt a joke i wooshed) but I've watched a couple of your videos. I've been an employed programmer for around 6 years now and when I started out like in my first 2 years or so I did a lot of codewars and also tried to solve difficult problems. Nowadays I just can't really do that anymore, like your maze video which was great btw, I guess I just became to stupid by now but your skills look very promising. Do you plan on a specific job like faang or what its called for example?
    Small edit here: I forgot to mention but if you like to challenge yourself and to solve puzzles basically, you should try and learn some assembly, whatever variant it may be. It's not as difficult as it seems but if you understand it, its a ton of fun (start with 6502 asm, it's extremely easy and great for understanding asm in general. Also you can mod and write games with it for nes and atari 2600)

  • @TheCoolestCrocodileEver
    @TheCoolestCrocodileEver Месяц назад +11

    Why are you the best?

  • @MohammedHasmi577
    @MohammedHasmi577 Месяц назад

    Nice video sir btw where are you from? Lots of love from india❤

  • @couldntcareless7884
    @couldntcareless7884 Месяц назад

    I tried doing some leetcode problems myself, and one of the hard ones was finding the median of two sorted arrays. And, I mean, you just take the merge part of merge sort, then get the medium of the new array and that’s it. How is it hard? Finding the longest substring without repeating characters was harder, and that was medium. I find that weird.
    Can’t complain though l, I solved a hard problem and it took me minutes
    Edit: did it without an array to merge the given arrays in, to save on memory, that’s noticeably harder.

  • @Spicekid-r9b
    @Spicekid-r9b Месяц назад +2

    How TF you solve 100 problems in 13 days. I am solving 2 questions per day :(

  • @iohasib1
    @iohasib1 Месяц назад

    Bro forgot to give shoutout to 3rd party websites. So sad. Btw, enjoyed the video a lot!!

  • @HardWorkingGeniuses
    @HardWorkingGeniuses Месяц назад

    great video

  • @JosePerez-u1c
    @JosePerez-u1c Месяц назад

    Hey CG, let's go 🚶‍♂️ 😎!😅😊

  • @muzamilshaikh838
    @muzamilshaikh838 Месяц назад

    Bro where did you learn Vedio animation that you used in your vedios

  • @erthboy47
    @erthboy47 Месяц назад

    Are there web languages (JavaScript) on there? I could use the practice for my web design job!

  • @gabrielprasenaraj
    @gabrielprasenaraj Месяц назад

    back again! 🤟

  • @sandeshchordiya6801
    @sandeshchordiya6801 Месяц назад

    Commenting just to check the network settings

  • @Cuwubiq
    @Cuwubiq Месяц назад

    well while this is pretty cool and i mean, congrats on that, leetcode is meant to be there for a routine, generally speaking 1 or 2 challenges a day is way way better than tryharding 15 one day and then being so exhaused by it that you atop doing these for the whole month lol

  • @gandalfthegrey2777
    @gandalfthegrey2777 26 дней назад

    how long it took you for 100 questions?

  • @xtgamer8550
    @xtgamer8550 Месяц назад

    Make python classes bro

  • @f-8ght
    @f-8ght 25 дней назад

    how does he makes videos like this character and all with the character animations what the style called ?

  • @sandeshchordiya6801
    @sandeshchordiya6801 Месяц назад

    Good Video

  • @guigui0246
    @guigui0246 Месяц назад

    Doing a LeetCode video sponsoring Brilliant...

    • @Green-Code
      @Green-Code  Месяц назад

      I love Brilliant. I love LeetCode. Brilliant + LeetCode = Amazing

  • @FelixNielsen
    @FelixNielsen Месяц назад

    I cannot for the life of me figure out leetcode. I am not talking about the code challenge, but the site, the interface and not least, the abomination of a code interface. Doing C, type bool is a thing, apparently, and so is integer overflow, which is to say, this is apparently an error?! WHAT?
    Furthermore, I cannot for the life of me find the interface you're apparently using and all the interesting problem require paid subscription?
    I have no idea how you're doing it. Perhaps I am just old...

    • @zanies6288
      @zanies6288 Месяц назад

      Nah the free ones are more than enough to get good at LC unless you are talking about mysql, js ones which are not traditional data stucture problems.

  • @rubyciide5542
    @rubyciide5542 Месяц назад +64

    I solved 0 and i have a job 💀⚰️

    • @mro9912
      @mro9912 Месяц назад +5

      Same 💀

    • @TheAzeyHD
      @TheAzeyHD Месяц назад +4

      Same

    • @gamertech7707
      @gamertech7707 Месяц назад +4

      Can u tell me how

    • @MuhammadYasirJaved-g1d
      @MuhammadYasirJaved-g1d Месяц назад +7

      Well your priorities seem to be a bit tangled. LeetCode is not their JUST to land on a job, its way more than that.
      Thank you :)

    • @rubyciide5542
      @rubyciide5542 Месяц назад

      @@MuhammadYasirJaved-g1d ik dude, just being sarcastic

  • @fsocietytrading
    @fsocietytrading Месяц назад +1

    pls how did you mak ethis character i like it

    • @Green-Code
      @Green-Code  Месяц назад +3

      Premier Pro + After Effects + Lazykh software animation :)

  • @ninadxperia4417
    @ninadxperia4417 Месяц назад

    Ha ha ha ha whats Ma Lin doing here. I will rename my account to Ma Long now

    • @Green-Code
      @Green-Code  Месяц назад

      Legend

    • @ninadxperia4417
      @ninadxperia4417 Месяц назад

      @@Green-Code Yeah true legend. And thanks for this wonderful video

  • @waytoeterrnalpeace
    @waytoeterrnalpeace Месяц назад

    Can i know if you are in college right? If so which year?

  • @chiki4604
    @chiki4604 Месяц назад +2

    Bro I wish I can be like you where do I start

    • @Green-Code
      @Green-Code  Месяц назад +1

      Anywhere. Just start. Learn Python, learn AI, learn algorithms and data structures :)

  • @dusvn1484
    @dusvn1484 Месяц назад

    Bro you are crazy, you like recursion ahahahah I'm stuck there.

  • @starry_shivam
    @starry_shivam Месяц назад

    But did you get employed after this?

  • @pranjalsaxena4455
    @pranjalsaxena4455 Месяц назад

    Bro how do you make these videos please tell me. How you made this character

    • @Green-Code
      @Green-Code  Месяц назад +1

      Premier Pro + After Effects + Lazykh software animation :)

    • @pranjalsaxena4455
      @pranjalsaxena4455 Месяц назад

      @@Green-Code Bro your channel is amazing. You've motivated me to start my own channel. I'll definately start in some time. I'm a data science student. I love coding related content. Your channel is so cool. Keep making this type of content. Have a nice day. Bye

  • @mindasb
    @mindasb 20 дней назад

    Leetcode should stop designating Python2 as "Python".

  • @AlexTsaava
    @AlexTsaava Месяц назад

    59,9 K subs!!!!

  • @WhosShamouz
    @WhosShamouz Месяц назад

    Leetcode speedrun 💀

  • @nickhermann5858
    @nickhermann5858 Месяц назад

    i like you videos
    👍

  • @I61void
    @I61void 18 дней назад

    I feel like I am too lazy. One day I solve 10 problems, and then two months pass without anything and then I might solve 1? You definitely encouraged me to solve more even though I just did 4 today.

  • @hoodless_1
    @hoodless_1 6 дней назад

    are you john egbert?

  • @7navy_
    @7navy_ Месяц назад

    what if u r like a noobie r there beginners courses ?

    • @skylo706
      @skylo706 Месяц назад

      My personal tip for you would be codecademy. It also has great free courses and it tought me programming 6 - 7 years ago. It gives you small fun projects and guides your hand while introducing you to different things. One project was for example a text based adventure game which taught you about printing stuff to the screen, if and else statements, strings and variables and lists. It is extremely good for a beginner, so give it a try :)

  • @8-bitrage982
    @8-bitrage982 22 дня назад

    Awesome

  • @avibega
    @avibega Месяц назад

    Hey Sir I am a flutter developer i need some guidance please give your linkedin or anything else..

  • @vidhansaini9296
    @vidhansaini9296 29 дней назад

    i have been grinding leetcode for 4 months but still i don't have this good logic building like you

  • @tarun.6069
    @tarun.6069 Месяц назад

    That ma lin profile on leetcode is not the actual profile of Tennis player ma lin . It's fake

  • @SiddheshVedre-w9n
    @SiddheshVedre-w9n Месяц назад

    Using ChatGpt is Ethical for solving leetcode🤔

    • @Feedv6
      @Feedv6 Месяц назад

      The main purpose is to learn, if you do it with that purpose it is not bad And of course you are not going to ask ChatGTP for the whole solution just to send it in leetcode, you have to try it yourself first.

    • @yahira.7031
      @yahira.7031 Месяц назад

      ​@@Feedv6 The way you learn is by actually trying to solve it by yourself and fail miserably. That way next time you encounter a different problem it'll be easy to get around it. Even getting a "partial" solution can make it really slower to develop those neat problem-solving skills

  • @ed2423
    @ed2423 Месяц назад

    after 6 years of my life coding, I still have no idea what im doing when coding, as long it works it works

  • @Dr.DomAPI
    @Dr.DomAPI Месяц назад +1

    Bro I need DSA in python to give me the best resources

    • @m0r4ag
      @m0r4ag Месяц назад

      Neetcode’s webpage offers the solutions in Python, his video explanations are conceptual so it’s pretty language agnostic

    • @Aditya-gp2ih
      @Aditya-gp2ih Месяц назад +1

      DSA is independent thing.... learn in any language....there are many Indian videos....if you are outsider try find something in English.... there's one on freecode channel. Do buy books

    • @Green-Code
      @Green-Code  Месяц назад +1

      One word: NeetCode

  • @otikonozadze6497
    @otikonozadze6497 Месяц назад

    i am polar opposite from you i have much better time solveing stack type of questions while struggling solveing tree questions