i did the easiest LeetCode in assembly

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 11. 11. 2022
  • TODAY I TAKE ON A MIGHTY CHALLENGE. A QUEST THAT NO OTHER PROGRAMMER OR CONTENT CREATOR WILL TAKE ON FOR THEIR VIEWERS.
    Today I will do the LeetCode challenge TwoSum, but that challenge is TWO EASY. TODAY, WE WILL BE DOING THAT PROBLEM IN ASSEMBLY. FOLLOW ALONG WITH ME ON MY QUEST.
    Wish me luck.
    đŸ« COURSES đŸ«
    Check out my Low Level courses at lowlevel.academy/
    đŸ”„đŸ”„đŸ”„ SOCIALS đŸ”„đŸ”„đŸ”„
    Low Level Merch!: www.linktr.ee/lowlevellearning
    Follow me on Twitter: / lowleveltweets
    Follow me on Twitch: / lowlevellearning
    Join me on Discord!: / discord

Komentáƙe • 223

  • @dandnnn
    @dandnnn Pƙed rokem +1

    we humbly request the o(n) solution

  • @TigerAnimationsYT
    @TigerAnimationsYT Pƙed rokem +487

    such a interesting video... never would I in a million years expect someone to do twosum in assembly. great job!

  • @ac3_train3r_blak34
    @ac3_train3r_blak34 Pƙed rokem +100

    never seen someone use "ii" for the inner loop haha, very cool though! I'll pretend I followed most of it 🙃

  • @lykewize2048
    @lykewize2048 Pƙed rokem +232

    I still have nightmares of assembly almost 20 yrs ago on masm32 staying with C. Respects you make it look so easy.

  • @ChrisM541
    @ChrisM541 Pƙed rokem +113

    Very, very impressive, and excellent to see some real(!!) assembly skills on youtube. You would have liked the 80's and 90's 'golden era' for assembly coders, certainly from a game making perspective. Things have certainly moved far with CPU instruction sets, but reassuring to see so much familiarity with those opcodes and concepts. Subbed.

  • @szilagyimiklos4757
    @szilagyimiklos4757 Pƙed rokem +9

    Now I remember how I used to look at code with 0 programming experience

  • @Jackarius86
    @Jackarius86 Pƙed rokem +141

    this is awesome, really makes me want to learn assembly. You make it look so trivial, for me it would be a nightmare!!

  • @godDIEmanLIVE
    @godDIEmanLIVE Pƙed rokem +4

    Comparing assembly to C++, I more and more come to the conclusion that ASM looks pretty reasonable.

  • @tommyhuffman7499
    @tommyhuffman7499 Pƙed rokem +1

    Not all heroes wear capes

  • @draco5991rep

    My brain is horrible, it immediately returned a bad pun after hearing twoSum 😅 the last twosum I processed was with my girlfriend.

  • @danmuji7585
    @danmuji7585 Pƙed rokem +47

    interviewer: can you solve this problem?

  • @criostasis
    @criostasis Pƙed rokem +10

    Amazing video! Doing ASM this semester and loving it. We are doing dbl precision fp and bit wise ops right now. Just got done creating custom functions and c function calls. Love this class it’s fun.

  • @hampuztt
    @hampuztt Pƙed rokem +10

    You should post the code as "easy to understand and fast solution"

  • @liberatemi9642
    @liberatemi9642 Pƙed rokem +7

    Love this - pleased to see younger developers with such enthusiasm for lower level development skills

  • @wknd3822
    @wknd3822 Pƙed rokem +5

    love your videos its always a fun learning experience keep it on

  • @moonshadowrev
    @moonshadowrev Pƙed rokem

    i just can say you are doing a wonderful job , you are on another level

  • @Majkieboy
    @Majkieboy Pƙed rokem +6

    Well done, very informative!

  • @yuriorkis_scream
    @yuriorkis_scream Pƙed rokem

    Great job! The power of assembly at his best!

  • @KevinNaughtonJr
    @KevinNaughtonJr Pƙed rokem +2

    when i think too much about how computers work it hurts my head, great work!

  • @robbybobby6464
    @robbybobby6464 Pƙed rokem

    what a cool idea! great job!!