When you treat your date like a coding interview

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024

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

  • @a617252
    @a617252 2 ปีที่แล้ว +479

    I feel I can learn through the whole data structure and algorithm after watching your videos

  • @Руслан-р2й8щ
    @Руслан-р2й8щ 2 ปีที่แล้ว +580

    Queue hahahhaha. I would definetly give him a chance

    • @alex_krumov
      @alex_krumov 2 ปีที่แล้ว +7

      Aren't you a man?

    • @yesjo1456
      @yesjo1456 2 ปีที่แล้ว +13

      @@alex_krumov and? lol

    • @larbot3433
      @larbot3433 2 ปีที่แล้ว +10

      Wahaha ok I am a "girl who codes" and 100% this line would have worked on me

    • @GrayM2
      @GrayM2 ปีที่แล้ว +1

      @@larbot3433 if I were a female it would have worked on me too

  • @dasayan05
    @dasayan05 2 ปีที่แล้ว +209

    that's the best low budget woman makeover

    • @lgrindrod3474
      @lgrindrod3474 2 ปีที่แล้ว +5

      That was the funniest part, followed closely by the code humor. Who taught code to be funny? Totally enjoying your vids

  • @ashvio
    @ashvio 2 ปีที่แล้ว +129

    I had actually had a date once where the girl set it up on Google calendar and sent me a Google meet invite like it was a fucking interview lmao

    • @sourabhkhandelwal689
      @sourabhkhandelwal689 ปีที่แล้ว +9

      Hope you didn't chat on a Google Doc.

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

      howd it go

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

      @@SafeRemain I got a rejection text after worded like it was a job interview too. she was a PM bte

  • @gradientO
    @gradientO 2 ปีที่แล้ว +383

    Hashmap is always the solution 😆 good skit

  • @kageyamatobio6238
    @kageyamatobio6238 2 ปีที่แล้ว +188

    “You don’t even study this much for interviews” So relatable for coop lmao 😂

    • @theFraggedNoobian
      @theFraggedNoobian 2 ปีที่แล้ว

      BRO I read this comment at the same time he said it

  • @utkarshagarwal587
    @utkarshagarwal587 2 ปีที่แล้ว +34

    Remember him telling in a video, whenever you are stuck, just throw a hashmap on the question 😌

  • @srivathsacherukumudi4975
    @srivathsacherukumudi4975 2 ปีที่แล้ว +100

    Please increase the frequency of your skits Nick. We are willing to see more😀😀

    • @nicholast
      @nicholast  2 ปีที่แล้ว +12

      i'll try my best to upload more often :)

  • @srikar_d_palmite
    @srikar_d_palmite 2 ปีที่แล้ว +44

    "Nicole" XD. Loving the character names. Just when I thought the male ones would run out...
    Also, love the face during thought narration at 1:35

    • @nicholast
      @nicholast  2 ปีที่แล้ว +7

      fun fact: Nicole's last name is Lis. Nicole Lis.

    • @srikar_d_palmite
      @srikar_d_palmite 2 ปีที่แล้ว

      @@nicholast 🤣👏👏Creative. Well done.

  • @austinjianxiaoli2625
    @austinjianxiaoli2625 2 ปีที่แล้ว +23

    Great vid! I can’t believe its so efficient and memorable to learn from funny videos! Pls make more!

    • @nicholast
      @nicholast  2 ปีที่แล้ว +5

      yeah i try to make the vids educational and entertaining so people can remember them!

  • @rakhshanhussain8372
    @rakhshanhussain8372 2 ปีที่แล้ว +14

    His skits always crack me up 😂👍

  • @AlexRenlowkey
    @AlexRenlowkey 2 ปีที่แล้ว +18

    awesome video bro! We need more people to make leetcode fun!

    • @nicholast
      @nicholast  2 ปีที่แล้ว +4

      thanks man! looking forward to more of your skits 💯

  • @LDarlong
    @LDarlong 2 ปีที่แล้ว +72

    I need some coder to explain what a hashmap is because watching these videos makes it seem like a cheat code.

    • @TheRecklessGamer3169
      @TheRecklessGamer3169 2 ปีที่แล้ว +31

      They are. Hash maps take an input as a key and run it through a hash function that spits out some large number. The number is then taken modulo the size of the array that the hash map is using. The value to be associated with that key is then inserted at that index of the array. This gives the hash maps really fast accessing times and allows them to act like a set (remembering distinct elements) as well. In short they just map keys to values really fast

    • @nicholast
      @nicholast  2 ปีที่แล้ว +28

      yea pretty much what he said- hashmaps allow you to search for items quickly

    • @thejoycode
      @thejoycode 2 ปีที่แล้ว +3

      Wait till you hear of a trie 😏

    • @elk___
      @elk___ 2 ปีที่แล้ว +2

      @@DarkKnightCookies It might help to compare hash maps with another data structure. One good use of hash maps is the ability to check whether a key is exists within the hash map quickly. This aspect of hash maps is very fast (on average) since all you need to check is whether the key you are looking for exists at the index given by h(key), where h is some hash function (such as h(k) = k mod m, where m is the space allocated for the hash map). On the other hand, checking if an element exists in an array requires you to check each element of the array until you find it, which tends to take much more time.

    • @angelinvideos
      @angelinvideos ปีที่แล้ว

      you need to try build any other DS and search vs a hashmap to get linear time. you won't get the dopamine effect unless you had one.

  • @OpenSourceai-iv8jb
    @OpenSourceai-iv8jb 2 ปีที่แล้ว +12

    1:30 when you said it at the same time i started dying man. Keep itup

    • @nicholast
      @nicholast  2 ปีที่แล้ว +2

      such a coincidence

  • @jadececi7653
    @jadececi7653 2 ปีที่แล้ว +2

    I knew it was something about the hashmaps! 😂😂😂

  • @chhavigg
    @chhavigg 2 ปีที่แล้ว +15

    Fun one!!!
    Waiting for more✨

    • @nicholast
      @nicholast  2 ปีที่แล้ว

      coming soon :)

  • @tommyo2172
    @tommyo2172 2 ปีที่แล้ว +4

    the amount of mini subtle jokes in this video is insane.

    • @nicholast
      @nicholast  2 ปีที่แล้ว +2

      glad you noticed them :)

  • @ralphway823
    @ralphway823 2 ปีที่แล้ว +3

    "its a match? oh nice, i've never seen this before"😂😂😂

  • @lil_lion69
    @lil_lion69 2 ปีที่แล้ว +3

    As a film major I don’t know how I got here, nor do I understand what’s going on. Great cinematography tho

  • @timefliesaway999
    @timefliesaway999 2 ปีที่แล้ว +3

    What I learned from this:
    If I ever gonna join a dating site, I’ll create to profiles so that I can match with myself

  • @ujwalj7001
    @ujwalj7001 2 ปีที่แล้ว +6

    Mark my words - You are gonna hit 3 million sub in no time (eventhough i think those who know programming will sub to the channel)

    • @LDarlong
      @LDarlong 2 ปีที่แล้ว

      At least let him get to 100k then 250k then 500k then 1 mil and so on. You're thinking too far ahead.

    • @nicholast
      @nicholast  2 ปีที่แล้ว +3

      thanks for the support :)
      i'm just trying to hit 100k first so i can get the silver play button ▶

    • @nikhil6842
      @nikhil6842 2 ปีที่แล้ว

      @@LDarlong He can use hashmap for better efficiency

  • @abhishekravoor
    @abhishekravoor 2 ปีที่แล้ว +7

    Queue that was a good one buddy 😂😂😂😂

  • @NOTOni
    @NOTOni 2 ปีที่แล้ว +8

    "it's a matchhhh wow never seen before"

    • @nicholast
      @nicholast  2 ปีที่แล้ว +4

      are matches a new feature? this is my first time seeing one

    • @NOTOni
      @NOTOni 2 ปีที่แล้ว +1

      @@nicholast Nicholas replied to me 😳
      Pip install happiness ^_^

  • @kirenmanoharan3877
    @kirenmanoharan3877 2 ปีที่แล้ว +12

    Nick your videos are actually amazing, love them and watch them on repeat

    • @nicholast
      @nicholast  2 ปีที่แล้ว +2

      glad you like them :)

  • @1uan1mao
    @1uan1mao 2 ปีที่แล้ว +7

    This is so good. I can't wait for more 🔥

  • @benjaminhess5695
    @benjaminhess5695 2 ปีที่แล้ว +5

    You should do a vid on what branchless coding is like for first timers!

  • @rotiger
    @rotiger 2 ปีที่แล้ว +4

    0:58 Antarctica lol

  • @Claudio-gv2lz
    @Claudio-gv2lz 2 ปีที่แล้ว +3

    Once i tried explaining to my girlfriend what my code does and the stuff they make me study and she said “but why would you do these things?” I couldn’t find an answer for that tbh lol

  • @Mnogarithm
    @Mnogarithm 2 ปีที่แล้ว +2

    LMAO loved the tinder pic for "Nicole"

    • @nicholast
      @nicholast  2 ปีที่แล้ว

      such a cutie

  • @yahwehagape
    @yahwehagape 2 ปีที่แล้ว

    1:30 lol “play it cool…” also it was hilarious how you read the whole problem description

  • @ZeroHez
    @ZeroHez 2 ปีที่แล้ว +2

    The Big Time Rush really encapsulated this video like those cheesy computer science pick up lines XD

  • @realJonathanWarburton
    @realJonathanWarburton ปีที่แล้ว +1

    I learned more about data structures in this video then I ever did in college

  • @gryndoncode7147
    @gryndoncode7147 2 ปีที่แล้ว

    lol @ the hash map jokes ...i have been in the tech industry for 20+ years and I never have to use them... because the clients that pay me only care if it works... ijs... but now I feel like I have been missing out lol

  • @SemperShock
    @SemperShock 2 ปีที่แล้ว

    Okay. .. you playing all the rolls in this video got me!!! Love the pinkish white bangs on Nicole.
    This was a great vid. I subbed because of it.
    Greetings from San Francisco

  • @thejoycode
    @thejoycode 2 ปีที่แล้ว +1

    Damn! My boy Nick got game!!!

  • @franciscofuentes8916
    @franciscofuentes8916 2 ปีที่แล้ว +1

    "I have a match, never seen that before" lol

  • @alistairkentucky-david9344
    @alistairkentucky-david9344 2 ปีที่แล้ว +3

    I want to know the origin of the towel on the head being a universal sign of a female character 😂

  • @bigsmoke6414
    @bigsmoke6414 ปีที่แล้ว

    0:58 best submission ever

  • @Shaddymaze
    @Shaddymaze 2 ปีที่แล้ว +6

    Pure gold! Well done Nicolas

    • @mavdotj
      @mavdotj ปีที่แล้ว

      Nice

  • @walidbinsiddik
    @walidbinsiddik 2 ปีที่แล้ว +2

    Waiting for your video for some time. And you didn't fail making a great video! love your videos, keep it up!

    • @nicholast
      @nicholast  2 ปีที่แล้ว +1

      yea it's been a while since i last uploaded oops
      glad you liked the vid :)

  • @zonko1176
    @zonko1176 ปีที่แล้ว +3

    this hookline is just genius 😂

  • @striderstache99
    @striderstache99 ปีที่แล้ว

    0:55 That two sum implementation is certainly a choice. 😬

  • @ujwalj7001
    @ujwalj7001 2 ปีที่แล้ว +3

    Wow it's my first time watching your vedio this early. I like that cutie pun (eventhough i doesn't know what that is).

  • @Mnogarithm
    @Mnogarithm 2 ปีที่แล้ว +3

    Output = "Antarctica", Expected = 5
    LMAO

    • @nicholast
      @nicholast  2 ปีที่แล้ว

      that's when u know ur code sucks

  • @user-jj2tr4pi3z
    @user-jj2tr4pi3z ปีที่แล้ว

    so wholesome.

  • @shrutirohila7869
    @shrutirohila7869 2 ปีที่แล้ว

    Dude, that towel handkerchief.❤

  • @forthehomies7043
    @forthehomies7043 2 ปีที่แล้ว

    i love these so much

  • @hurricanetwister24
    @hurricanetwister24 2 ปีที่แล้ว +1

    good one :)
    cant wait for the next

    • @nicholast
      @nicholast  2 ปีที่แล้ว

      appreciate it :)

  • @Katerina111111000
    @Katerina111111000 2 ปีที่แล้ว +1

    Lol this skit🤣 love it

  • @iwellbreastfed
    @iwellbreastfed ปีที่แล้ว +1

    this is the guy you watch when your studying isnt going well

  • @N0purpose
    @N0purpose 2 ปีที่แล้ว +2

    Another banger as always

  • @alexbarraza6671
    @alexbarraza6671 2 ปีที่แล้ว

    My reaction to Queue omg.
    sold.

  • @qwertyu602
    @qwertyu602 2 ปีที่แล้ว +1

    This is so cringe but also what I need in my life 😅😅 So, God I see what u did for others 🙏

  • @user-cg7gd5pw5b
    @user-cg7gd5pw5b ปีที่แล้ว

    "
    Output : Antarctica
    Expected : 5
    "
    Also, fun fact, that's the first question they did

  • @sarathraja2123
    @sarathraja2123 2 ปีที่แล้ว

    Kudos to all who paused the video and started thinking of a solution and then gave up 😆😆

  • @abysswatcher4907
    @abysswatcher4907 2 ปีที่แล้ว

    0:37 Sure, some dp?
    But do not use namespace from c++!

  • @windella475
    @windella475 2 ปีที่แล้ว

    Good video as always!

  • @insaiyanv2478
    @insaiyanv2478 2 ปีที่แล้ว +1

    It’s always a damn hashmap 😩😂

  • @charlesliu7529
    @charlesliu7529 2 ปีที่แล้ว

    This is a banger

  • @io817
    @io817 2 ปีที่แล้ว

    what a video XD will surely try this and let you know !

    • @nicholast
      @nicholast  2 ปีที่แล้ว

      haha good luck

  • @palakdwivedi7152
    @palakdwivedi7152 2 ปีที่แล้ว

    you rockk !!

  • @assasinsjeff
    @assasinsjeff 2 ปีที่แล้ว

    A common experience of mine, because I work on Unity C# and, the easiest language to code in is python. So SD's having to grind DSA in the easier language from scratch for a new job. 🤣

  • @alkhiljohn7640
    @alkhiljohn7640 2 ปีที่แล้ว +1

    For the sweats out there:
    594. LONGEST HARMONIOUS SEQUENCE SOLUTION
    Version: Python 3.7
    a = list(map(int,input().split()))
    a.sort()
    main = []
    for n in range(len(a)):
    for o in range(len(a)):
    if a[o] - a[n] > 1:
    main.append(o-n)
    break
    print (max(main))

  • @cameronball3998
    @cameronball3998 2 ปีที่แล้ว

    This is amazing 😂

  • @lalakbalazs2260
    @lalakbalazs2260 2 ปีที่แล้ว

    "Remember, if you ever get stuck, throw a hashmap."

  • @lighthappy
    @lighthappy 2 ปีที่แล้ว

    When you get a problem, let's throw a hashmap =)))

  • @user-yq7bm3tf7c
    @user-yq7bm3tf7c ปีที่แล้ว

    Your name should be Nicholas

  • @jdrew2000
    @jdrew2000 2 ปีที่แล้ว

    big time rush outro!

  • @fichtensaft5149
    @fichtensaft5149 2 ปีที่แล้ว +1

    Nice man

  • @emilyau8023
    @emilyau8023 2 ปีที่แล้ว +1

    What if we merged our code and there were no compile errors? 👉👈

  • @theSDE2
    @theSDE2 2 ปีที่แล้ว

    Nick bro, you are dope.

  • @neal9405
    @neal9405 2 ปีที่แล้ว

    But hash map can not guarantee the worst time complexity and I will choose map :)

  • @masonunger7170
    @masonunger7170 2 ปีที่แล้ว

    I clearly need to learn what a hash map is

  • @althacker4802
    @althacker4802 ปีที่แล้ว

    Actually my ideal date...lol

  • @kabilanraja9542
    @kabilanraja9542 2 ปีที่แล้ว

    Need moree! 🤣

  • @artemvolsh387
    @artemvolsh387 2 ปีที่แล้ว

    Ben Awad's VSCode Extension: 'Am I joke to you?'

    • @nicholast
      @nicholast  2 ปีที่แล้ว

      Vsinder haha

  • @Kk-xk5cb
    @Kk-xk5cb 2 ปีที่แล้ว +1

    what app you are using? I need to find my leetcode date as well.

  • @cyberbandudada3768
    @cyberbandudada3768 2 ปีที่แล้ว

    bro i hate to use other codes or libraries unless it is very nessasary and out of my knowledge scope (i like to build my own things of code)

  • @amantahiliani
    @amantahiliani 2 ปีที่แล้ว

    It is always a hashmap

  • @tommyo2172
    @tommyo2172 2 ปีที่แล้ว

    No way you said Queue😭😭

  • @frvnkliu
    @frvnkliu 2 ปีที่แล้ว

    Lmao the solutions

  • @VickyMei
    @VickyMei 2 ปีที่แล้ว

    🤣🤣🤣🤣me right now on dates.

  • @mayankjindal8908
    @mayankjindal8908 ปีที่แล้ว

    Moral of the story : Recursion (sucks(Recursion)) ;

  • @amishatrivedi3179
    @amishatrivedi3179 2 ปีที่แล้ว

    Gotta try such leetcode dates with my future dates🤭

    • @nicholast
      @nicholast  2 ปีที่แล้ว

      pls let me know how it goes

  • @salma31000
    @salma31000 2 ปีที่แล้ว

    I have no clue what the end was but it was funny

    • @nicholast
      @nicholast  2 ปีที่แล้ว

      Nick really thought he did something with his silly O(n logn) solution when you could just use a hashmap to achieve O(n) time complexity

  • @sandraviknander7898
    @sandraviknander7898 2 ปีที่แล้ว

    Hash maps are the best!

  • @sylvanfranklin6904
    @sylvanfranklin6904 2 ปีที่แล้ว

    we need part two!

  • @sayamqazi
    @sayamqazi 2 ปีที่แล้ว

    0:55 Using n^2 complexity. I would be calling a raincheck.

  • @MrDavidRaw
    @MrDavidRaw 2 ปีที่แล้ว

    Antarctica LMFAOO

  • @AT-pd8pi
    @AT-pd8pi 2 ปีที่แล้ว

    I thought you would solve the '3-sum' :)

  • @shivkj1697
    @shivkj1697 2 ปีที่แล้ว

    @0:58 output is "Antarctica"🤣

  • @gyunayify
    @gyunayify 2 ปีที่แล้ว

    The most accurate part is that he plays as the girl to make this video

  • @guckyukon259
    @guckyukon259 2 ปีที่แล้ว

    Nice one :)

  • @gongtia4976
    @gongtia4976 2 ปีที่แล้ว

    you can argue you use less space

  • @YT-yt-yt-3
    @YT-yt-yt-3 2 ปีที่แล้ว

    Just pretend it's an interview. lol. good one.

  • @soumikjana2993
    @soumikjana2993 ปีที่แล้ว

    People preferring hashmaps aren't to be trusted Nick

  • @varunnayyar3138
    @varunnayyar3138 2 ปีที่แล้ว

    0:58
    Output - Antarctica
    Expected - 5

  • @alluripranitha
    @alluripranitha ปีที่แล้ว

    ek aisi date tho mri bhi deserve karthi hum😢😢😢
    translation : i too deserve a date like this mannnn😢😢😢

  • @codedfotography
    @codedfotography 2 ปีที่แล้ว

    queue omd

  • @mayursonowal
    @mayursonowal 2 ปีที่แล้ว

    It's always a hashmap, isn't it :P