Day 8 of Code: Dictionaries & Hash Maps!

39
94



Welcome to Day 8! Learn about dictionaries and hashmaps in this video! Got a question? Leave a comment down below!

Check out my programming courses on LinkedIn Learning!
REFERRAL CODE:

Need some new tech gadgets or a new charger? Buy from my Amazon Storefront

Code from Today |

HackerRank Challenge |

Slides from Today |

GitHub |

Twitter |

Facebook |

Instagram |

Pinterest |

LinkedIn |

Download the official 30 Days of Code Calendar!

Want a free $20 Amazon gift card? Share a picture of the video or of you coding with the hashtag #30DaysOfCode on Facebook, Twitter, or Instagram and be entered to win one! Five winners will be picked randomly on January 28th.

Want more coding help? Sign up for a one-on-one session with me on codementor |

Nguồn: https://ephraimturner.com

Xem thêm bài viết khác: https://ephraimturner.com/cong-nghe/

39 comments

  1. Phycon 19 May, 2020 at 05:47 Reply

    A computer science video with a clear and simple explanations, enthusiasm and in American English?! too good to be true!

  2. Prasu 19 May, 2020 at 05:47 Reply

    This is how students should be taught, 1st video I Saw at Hackrnk and just splendid, literally MZA AA GYA 🙂

  3. Цветослав Цветков 19 May, 2020 at 05:47 Reply

    I'm not agree with what you said that there is no garantee order in Java Dictionary. Hashmap doesn't garantee the order but LinkedHashMap does. Here is more information https://stackoverflow.com/questions/683518/java-class-that-implements-map-and-keeps-insertion-order

  4. Vinayagam Murthi 19 May, 2020 at 05:47 Reply

    One of the very good explanation about Hashmap..Saying simple as possible with cheerful manner 🙂

  5. silvershop 19 May, 2020 at 05:47 Reply

    and how to impleent it on GUI when input text in textfield press button and it returns you value of this key? it wil be nice if you make tutorial on this topic

  6. Rohit Singh Rathore 19 May, 2020 at 05:47 Reply

    Everyone has told about your videos already, lemme now add one more – Your voice is really melodious. I got attracted to you. LOL.

  7. Vyas Anirudh Akundy 19 May, 2020 at 05:47 Reply

    I didn't understand why boolean didn't work and Boolean worked……………..the same thing happened when i tried entering 'int', it didn't work but it worked with "Integer"

    Thanks in advance 🙂

  8. sameer bisoyi 19 May, 2020 at 05:47 Reply

    1) Hi, I am currently working on the Meeting Overlap problem which I am trying to do with HashMaps, however instead of taking the number of test cases and then inserting the start and end time, if I want to develop a program to take any number of testcases i.e directly start putting the start and end times and want the program to tell me if it overlaps or not, then what should be the way to go? This is a basic question which I didn't think of, don't know why, however got rejected at the last round in one of the valley companies at the last phase of optimization because of this, so currently obsessed with it, any help would be appreciated. So formulation my question, it doesn't have to do with just this specific problem, think of it in any scenario, even a prime number, if I start putting the prime numbers right away and want the program to give me the result, however the condition is that it cannot take how many number of prime numbers I want to check for primality.

    2) In the Meeting Overlap problem, while comparing, one of the comparisons will have to be comparing the key of the inserted set to the value of its previous key, how to establish it? Can we get the key somehow, as usually I only know how to get the value, if any of other like queue works for this problem, I would surely like to know about it, however I want to know how to work with it in hashmaps as well.

    Any input is appreciated.

  9. Teak VanDerGarderen 19 May, 2020 at 05:47 Reply

    So, say I go " public String getStory(){ "

    does it matter if there is a space after the () before the {? the default seems to be a space. Is it going to screw anything up if I don't use a space in more complicated code? It seems kind of pointless to add a space if you don't need one.

  10. Jaimish Ashar 19 May, 2020 at 05:47 Reply

    I love your commentary! If I was taught programming like this it would be so cool! Thanks a ton!

  11. R4mzyZA 19 May, 2020 at 05:47 Reply

    5:44 – For the other pedants in the audience, on PC (Windows) you can type the accented 'e'/é by typing Alt+0233 on the numpad (not the the top number row), and 'a'/á is Alt+0225.
    Also: http://symbolcodes.tlt.psu.edu/accents/codealt.html

Leave a reply