What Alex did with 53 seconds

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ม.ค. 2025

ความคิดเห็น • 75

  • @elmepo232
    @elmepo232 หลายเดือนก่อน +196

    They finished the problem in about the time it takes me to read it

    • @juanmacias5922
      @juanmacias5922 หลายเดือนก่อน +2

      lol that's because you weren't looking for the main points. ;D

    • @illegalsmirf
      @illegalsmirf หลายเดือนก่อน +5

      You think maybe it's a kind of gamified situation where the 'pros' know what to do before the 'competition' already starts? Seems like an obnoxious event filled with obnoxious foulmouthed people.

    • @juanmacias5922
      @juanmacias5922 หลายเดือนก่อน +11

      @@illegalsmirf one thing I've learn from life is you get what you put in, there are many people that do it for the fun of it, and take their time to read the story, as its plot is elaborated on within the 25 days. Edit: grammar

    • @illegalsmirf
      @illegalsmirf หลายเดือนก่อน +3

      @@juanmacias5922 Yes of course. Although the fact that there are leaderboards tells you a lot more about human nature and the main reason why most people take part. And of course, many people take more out of life than they put in. I would also say that not everyone gets the chance to put in as much as they would like, either. Very complicated is life. I have often thought living is more trouble than it's worth!

    • @juanmacias5922
      @juanmacias5922 หลายเดือนก่อน +7

      @@illegalsmirf ha yeah, it kind of sucks when you realize competition is at the root of our existence, we compete for love, education, and financial standing. I was never a fighter, which could be why my life isn't what I wanted it to be. But I choose to see beauty in the small things, and I think that's why I enjoy doing AOC, it gives me an avenue to see that my programming chops are growing. My goal is to collect all 50 stars (2 per day) one year, but this year I want to be consistent and get all the part 1 stars. :D I think we might as well find some solace in this world, and I find AOC cozy and fun. :) Also, responding to the original question, I forgot they highlight the main points, so it's very easy to skim the highlighted section and see what the problem is asking! Edit: grammar

  • @Dizzykitty817
    @Dizzykitty817 หลายเดือนก่อน +35

    I feel this is the type of skill that recruiters expect for new grad positions.

    • @user-dc9zo7ek5j
      @user-dc9zo7ek5j 14 วันที่ผ่านมา +1

      Except that recruiters don't event get to you because you don't have specific keywords in your CV.

    • @Dizzykitty817
      @Dizzykitty817 14 วันที่ผ่านมา

      @@user-dc9zo7ek5j Right. It is pretty depressing.
      I currently have a CS degree and pretty much gave up trying to use it for a job. I think I have an assembly job lined up next month. Feels good man.

  • @kausee
    @kausee หลายเดือนก่อน +13

    Thanks Kay. Appreciate your efforts in making these videos. These are my highlights of the day!

  • @tau9632
    @tau9632 หลายเดือนก่อน +7

    Omg I'm going to *love* this series!
    It even made me realise that something I thought I was 'naturally' bad at (working under pressure), could actually be trainable, could be improved and I don't need to feel so insufficient anymore!

  • @drivers99
    @drivers99 15 วันที่ผ่านมา

    I’ve been following their updates ever since, including this year. That must be how I got to this video :)

  • @MemeConnoisseur
    @MemeConnoisseur หลายเดือนก่อน +6

    Can't wait for the videos 💪

  • @itztlacoliuhqui
    @itztlacoliuhqui 21 วันที่ผ่านมา

    Appreciate the captions! And generally all the details and thoughts going into this. Tysm

  • @juanmacias5922
    @juanmacias5922 หลายเดือนก่อน +21

    Wow, Alex is a badass. Thanks Kay, looking forward to more videos about dealing with tough puzzles.

  • @Souljacker7
    @Souljacker7 22 วันที่ผ่านมา

    Your voice is very calming! Love all content!

  • @alexwennerberg
    @alexwennerberg หลายเดือนก่อน +30

    So excited for advent of code! I’m going to do mine in Scheme :)

    • @juanmacias5922
      @juanmacias5922 หลายเดือนก่อน +2

      I was thinking of using C++ but I just got reminded how much string parsing is involved haha ugh...

  • @sleepyelk5955
    @sleepyelk5955 หลายเดือนก่อน +1

    great video again, very cool to watch, as always 🙂 ... you have find a great way to explain complex things very well

  • @Alex-bv5se
    @Alex-bv5se หลายเดือนก่อน +1

    So cool!
    Thanks for sharing the video and your very interesting analysis of it.

  • @isak
    @isak หลายเดือนก่อน

    Great video as always! :D

  • @Gravybagel
    @Gravybagel หลายเดือนก่อน

    A lovely video. :) i thought it was going to be about code, as it ended up being about a very human response to a challenge and triumph. I really appreciated going back to just before the problem is solved. The deep breaths, self talk. Interesting stuff :D

  • @waso-mu
    @waso-mu หลายเดือนก่อน +5

    That's my friend! Yay!

  • @ExCyberino
    @ExCyberino หลายเดือนก่อน

    I luv you and luv what you do.
    I don't fully watch, because I'm too eager to code and study, but i know it's good .

  • @ellyse7777
    @ellyse7777 หลายเดือนก่อน +2

    Excellent vidéo !

  • @zionklinger2264
    @zionklinger2264 หลายเดือนก่อน +1

    That chaining functions syntax is very common in rust. it's also pretty great and, I would say, the preferred way to do most data transformations in rust.

    • @user-dc9zo7ek5j
      @user-dc9zo7ek5j 14 วันที่ผ่านมา

      It is called first-class function.

  • @typo691
    @typo691 7 วันที่ผ่านมา

    Can someone explain the notation for the sort method used in the video? Why (a,b)=>b-a

  • @sreejithmmsj
    @sreejithmmsj หลายเดือนก่อน +25

    How did he read the puzzles so fast ?

    • @jamesarthurkimbell
      @jamesarthurkimbell หลายเดือนก่อน +21

      People who do these challenges for speed are focused on recognizing what kind of algorithm a question is hinting at, without having to read the whole thing. Then sometimes it takes a second or third try, like we see in the video, but that's only a few seconds more.

    • @MindGameArcade
      @MindGameArcade หลายเดือนก่อน +11

      it's similar to 'competitive programming' (look it up online) there is honestly nothing impressive about it, just by going over the puzzle you already know what kind of problem it is & you just spit out a premade solution. I assume Kay is not familiar with competitive programming.
      Here the program was just finding a maximum which is extremely trivial, but in competitive programming you have people solving NP problems in a matter of seconds simply because it is always the same category of problems, you don't read all the fluff of the problem.

    • @Bibi_effin_Blocksberg
      @Bibi_effin_Blocksberg หลายเดือนก่อน +1

      Well, I mean technically if you're used to this and you actually know Day 1 doesn't involve a lot of complexity you can just focus on finding the main question, the data, and off you go.
      That doesn't work so well with nuanced Problems where more context is involved, but with isolated problems like this, and if you've trained and it's your goal to be fast, it doesn't seem too far off. I guess most people could get there, if they were interested in it. Still quite the impressive skill, you don't get there without putting effort into this.

    • @freegameLP
      @freegameLP หลายเดือนก่อน +15

      hey, just wanted to mention Alex's pronouns are she or they

    • @zeroanims4113
      @zeroanims4113 หลายเดือนก่อน

      @@MindGameArcade what's your rank in codeforces? or any competitive programming site

  • @RavitShrivastav
    @RavitShrivastav หลายเดือนก่อน +16

    i never quite liked coding puzzle since college. makes me too anxious but your pov on how it could be fun even when difficult.
    very Feynman esque

    • @Revoker1221
      @Revoker1221 หลายเดือนก่อน +7

      An interesting coincidence you should mention Feynman, Angela Collier uploaded a video 2 days ago titled "the sham legacy of Richard Feynman", it's over 2 hours long and goes over the problems surrounding how Feynman is remembered. Heck, it even brings up the "Feynman method" to learning was invented out of thin air and likely had nothing to do with Feynman.
      Not much substance to my comment, sorry. I just wanted to share how curious a coincidence it was, and if anyone has a spare afternoon to waste and enjoys physics, Angela Collier is a nice channel.

    • @tau9632
      @tau9632 หลายเดือนก่อน +4

      @@Revoker1221 Hahaha I wanted to comment the same thing.
      I guess this usage of Feynman-esque here is fine, since it's about the (non-problematic) side, of just enjoying science and being passionate about problems.. but initially the word 'Feynman' leaves a bad taste in my mouth now...

    • @user-dc9zo7ek5j
      @user-dc9zo7ek5j 14 วันที่ผ่านมา

      What makes you anxious about them? You mean that they are timed?

  • @xbelanch
    @xbelanch หลายเดือนก่อน +11

    tsoding approved

  • @prawtism
    @prawtism หลายเดือนก่อน +1

    2nd bookmark "lipu nimi", Estonia mentioned

  • @anon_y_mousse
    @anon_y_mousse หลายเดือนก่อน +2

    I had to download it just to read the code since TH-cam is still shitting on me at 360p, but it's kind of funny that he just swapped to the JavaScript console of the browser to code it. Just a simple scratch bit of code and problem solved. Although, I do wonder how long it would take using C. Granted I have scads of libraries to make use of, still have to type in include directives and file names, then boilerplate junk that you don't need in most other languages. I did it last year and was bored after day 3, but I think I'll at least give it try again this year. Are you going to make a video for each day of AOC?

    • @freegameLP
      @freegameLP หลายเดือนก่อน +6

      hey, just wanted to mention Alex's pronouns are she or they

  • @adamrushford
    @adamrushford หลายเดือนก่อน

    very nice

  • @xspager
    @xspager หลายเดือนก่อน +4

    Tired my hand at the 2013 one a few months ago and I to stop after solving the first part of day 3 to see how smart people were solving it. Need to get back to it. Also, in case Alex need to and read this: she rules!

  • @xdasdaasdasd4787
    @xdasdaasdasd4787 หลายเดือนก่อน +2

    Bookmarks read like minified js code

  • @TheGabrielMoon
    @TheGabrielMoon หลายเดือนก่อน

    this is interesting

  • @jimshtepa5423
    @jimshtepa5423 หลายเดือนก่อน +5

    почему у Алекса открыты вкладки на русском языке?

    • @juanmacias5922
      @juanmacias5922 หลายเดือนก่อน +5

      Because in Russia tabs open you, sorry, bad joke. :D

    • @grqfes
      @grqfes หลายเดือนก่อน +2

      one single youtube video mind you not "tabs"

    • @nim64
      @nim64 หลายเดือนก่อน +6

      потому что я тогда учила русский, и хотела что я слушаю музыку на этом языке всегда (а теперь я не учу, и мой русский очень плох)

    • @bigmistqke
      @bigmistqke 23 วันที่ผ่านมา +1

      ​@nim64 congrats on the first place nim!

  • @TY1979KA
    @TY1979KA หลายเดือนก่อน +1

    later days are easier to score higher :D

  • @gideon0223
    @gideon0223 หลายเดือนก่อน

    In the video you make the comment that method chaining would not be acceptable in the real world.
    Why not?
    In a lot of functional languages we basically pipe / chain mathematical operations or transformations all the time.

    • @neoeno4242
      @neoeno4242  หลายเดือนก่อน +3

      Method chaining is definitely fine in a regular job - what would be highly unorthodox is adding new methods to builtins the way Alex is here. So for example adding a `num()` method to the array builtin which converts every item in a list of strings into a number - that sort of thing. Very useful/appropriate in this context, but in most working teams would be rejected.

  • @RobinStethem
    @RobinStethem 28 วันที่ผ่านมา

    For a second I was like maybe he is celebrating prematurely, what if someone else does it faster? Then I figured it out

  • @davidmurphy563
    @davidmurphy563 24 วันที่ผ่านมา

    Had to abandon the video after a few minutes. I couldn't read the problem on my phone. When I zoomed in it was changing too much too quickly so I literally had no idea what the task was.
    Pity, if I just could have been able to read the challenge I was in the mood to have a crack.

    • @bigmistqke
      @bigmistqke 23 วันที่ผ่านมา +1

      I think this video was less about trying to solve the puzzle yourself and more being a fly on the wall of a competitive programmer solving a puzzle.

  • @matwadoesgames
    @matwadoesgames หลายเดือนก่อน +2

    Now AI. Promptgeneers get sub 30 sec solutions with a single script that involves no skill

    • @MyAce8
      @MyAce8 22 วันที่ผ่านมา

      if that were the case you'd see sub 30 sec solutions but you don't. AoC problems seem to be still too hard for a Claude subscription to one shot

    • @user-dc9zo7ek5j
      @user-dc9zo7ek5j 14 วันที่ผ่านมา

      You say "that involves no skill", yet specify "promptgeneers". I woundn't say prompting is a job, but you really need to know what you are doing in order to receive a good answer. You need knowledge both for the question and the AI itself. I have seen people ask simple questions in such a convoluted way and it fails to answer.

  • @MrFujinko
    @MrFujinko หลายเดือนก่อน +3

    First

  • @comosaycomosah
    @comosaycomosah หลายเดือนก่อน

    he's a quick one lol

  • @jortor2932
    @jortor2932 หลายเดือนก่อน +3

    Well Explained the concept (⁠◔⁠‿⁠◔⁠)

    • @TomCromwell-h8c
      @TomCromwell-h8c หลายเดือนก่อน +26

      transphobes are so lame lol

    • @Heshamelfakharani
      @Heshamelfakharani หลายเดือนก่อน +9

      why are you being horrible to a person even when you can recognize they're helping you

    • @bogdan449
      @bogdan449 หลายเดือนก่อน +1

      @jortor2932 Ungrateful subhuman filth like you are a million times worse

    • @yhyy6429
      @yhyy6429 หลายเดือนก่อน

      @@TomCromwell-h8c I mean they look off putting and weird. He sort of looks like lord fardquaad. Usually people don't make fun of things that are outside of their control but this guy dressing up as a woman and making himself look like a clown is completely his choice. Either ways ywnbaw. Interesting videos though I just wish webcam was off

    • @aurele2989
      @aurele2989 หลายเดือนก่อน +2

      ​@@Fracture1603did the original say something else? i see op edited their content
      edit: when i posted this, the comment went something like "bro should have won most handsome award [something something]"