An Overview of Arrays and Memory (Data Structures & Algorithms #2)

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

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

  • @CSDojo
    @CSDojo  6 лет назад +257

    Here’s an outline of this video:
    0:37: A quick overview / refresher of arrays
    2:49: What is memory?
    6:46: Examining memory and storage on my laptop
    7:48: How integers are stored on memory
    9:51: A simple model of memory (a long tape of bytes)
    13:55: Storing an array of integers instead of single integers
    Also, find this entire series in a playlist here: goo.gl/wy3CWF

  • @dannggg
    @dannggg 3 года назад +115

    I don’t understand how professors that been teaching for decades can’t explain something like this like you guys. Thank you :)

    • @sabertoothwallaby2937
      @sabertoothwallaby2937 2 года назад

      college is a scam

    • @biqbicle4982
      @biqbicle4982 2 года назад +2

      everyone explains differently and some people just leave stuff even though they know it

    • @surajbiswas7794
      @surajbiswas7794 2 года назад +10

      beacuse professor got paid by institution or govt not from the student...... but for youtube that is reverse

  • @CSDojo
    @CSDojo  6 лет назад +371

    Hey guys! So I stopped making my Python series for a while, but I was really surprised to get so many comments requesting that I make more.
    So, I think I would like to restart it sooner than later.
    I still want to focus on this data structures & algorithms series for now, but as I get used to the process, I'm hoping to start producing the Python videos in parallel. I'm not sure when exactly (or even whether or not) I'll be able to do it, but stay tuned-- and thanks a lot for all your comments and support!

    • @siakacamara7607
      @siakacamara7607 6 лет назад +1

      CS Dojo do you do any full python course online in udemy or anywhere else where people can go to learn

    • @network9990
      @network9990 6 лет назад +1

      I love both! To be honest, I favor this series over python, but I'll watch anything you post. You always provide insightful bits of information

    • @Riteshbachhar
      @Riteshbachhar 6 лет назад +2

      CS Dojo please make a video on learning path that one should follow to be a better programmer. Currently I am in physics major and want to combine CS and physics in future.

    • @ahmed.bhewary775
      @ahmed.bhewary775 6 лет назад +1

      YK .. I know you from Python .. in my university ...for python series you are a superstar ,,,so please keep it on

    • @youssefsafer6204
      @youssefsafer6204 6 лет назад +2

      plz CS Dojo i want to ask you how to turn a python coded program into an executable application . thnx

  • @asdfghjkl1770
    @asdfghjkl1770 5 лет назад +234

    > Leader
    > Teacher
    > Genius
    > Good Programmer
    > Wonderful problem solving skill
    > Videos with motivation!
    yk you're a amazing guy! i wish i could meet you one day!

    • @zehaoyao5305
      @zehaoyao5305 4 года назад

      me too!

    • @Muhammedceylan
      @Muhammedceylan 3 года назад

      Can you tell me the name of the application used?

    • @StarLan7
      @StarLan7 Год назад

      @@Muhammedceylan r u asking what yk used to make the video?

    • @Muhammedceylan
      @Muhammedceylan Год назад

      @@StarLan7 the application or tool used while giving lectures on the computer

    • @StarLan7
      @StarLan7 Год назад

      @@Muhammedceylan i am not sure but it's probably Google docs

  • @vertigo6982
    @vertigo6982 6 лет назад +67

    I love how he indexes his videos when theyre so short and dont really need to be indexed.. but it makes for a more effecient learning experience. You got my like.

  • @SuperDarmino
    @SuperDarmino 2 года назад +9

    4 year old gem of content. Cant stress how important it is to go back to fundamentals when learning to code. Some people just jump straight into learning languages and down the line they get overwhelmed and ask too many questions than answered because they lack the necessary foundations. Beautifully laid out by Dojo and well defined structure for this course. Kudos!

  • @turbosardar39
    @turbosardar39 4 года назад +3

    Finally, we have a series of data structures and algorithms which is not boring....

  • @redfinance3403
    @redfinance3403 3 года назад +8

    Finally! I was really struggling through data structures, but then I found this guy. I have improved so much already! Thanks!

  • @imtk
    @imtk 6 лет назад +61

    Great Content :)
    For strong typed languages as java, C++, arrays are homogeneous, with a specific type (integer, char, string, etc). But for dynamic programming languages like Ruby and Python you can also have heterogeneous arrays, as the third example YK showed :)
    Keep up the great work! Big sub here.

    • @CSDojo
      @CSDojo  6 лет назад +5

      Thank you TK!

  • @jeffpal3840
    @jeffpal3840 6 лет назад +4

    I'm engineer and I like to watch your videos. It's so good. Thanks

  • @DarDarBinks1986
    @DarDarBinks1986 6 лет назад +11

    I literally just started watching these videos a couple days ago and I can feel my brain growing.

  • @aqeeb9009
    @aqeeb9009 6 лет назад +3

    This is by far the best series on Data Structures & Algorithms. Love these videos. Keep 'em coming.

  • @lancelotnet
    @lancelotnet 4 года назад +1

    the number of youtubers like you must increase. We got sick of seeing courses with hundreds of dollars. Please just keep sharing your experiences and informations. You know Sharing Knowledge is Power Multiplied

  • @whiterose5083
    @whiterose5083 6 лет назад +9

    Watched 2 videos in 30 mins and I'm already fell in love with you man. You're the best I stumbled upon so far

    • @Muhammedceylan
      @Muhammedceylan 3 года назад

      Can you tell me the name of the application used?

  • @RandomGuy-pr7gt
    @RandomGuy-pr7gt 6 лет назад

    To me for some reason, YK looks very honest in his efforts putting these videos out. Keep posting.

  • @maurosouza8035
    @maurosouza8035 6 лет назад +3

    CS DOJO you are an angel for putting this material out for free! thank you, I love your work.

    • @Muhammedceylan
      @Muhammedceylan 3 года назад

      Can you tell me the name of the application used?

  • @ashishsb9075
    @ashishsb9075 6 лет назад +76

    Thanks for the video. Please continue the algorithm and data structures series going to cover advance topics also.

    • @Muhammedceylan
      @Muhammedceylan 3 года назад

      Can you tell me the name of the application used?

  • @adilshaikh3421
    @adilshaikh3421 6 лет назад +3

    Thanks for listening to my request. I could imagine the memory without actually seeing the visuals. Please keep it going this way.

  • @nehaliacharya7257
    @nehaliacharya7257 4 года назад

    The explanation was simple, clear & awesome. Had the professors in my so-called "top" institution learnt to teach like this, we would have succeeded & cracked product company interviews during college placements itself.

  • @abhisekmishra2194
    @abhisekmishra2194 6 лет назад +2

    Eagerly awaiting for the next video in the series! Especially the advanced topics such as Dynamic Programming and applying Algorithm to a specific set of problems

  • @TheXTCNinja117
    @TheXTCNinja117 5 лет назад +4

    Thank you for the simplicity, I'm learning a lot. More than I thought I could.

  • @isly4493
    @isly4493 4 года назад

    I finally got a better idea of how arrays work by the way you explains it. Thank you , that's really helpful for many of us who is actually looking forward to programming. I got to say that you are motivating me even more to pursue this field.

  • @dollishsilverdreams
    @dollishsilverdreams Год назад

    Please let him teach at a university, seriously I will be forever grateful for this channel; a true lifesaver 💌

  • @mitchelldejonghe4271
    @mitchelldejonghe4271 6 лет назад +5

    The way you structure your videos is great! Simple to follow and great explanations. You've certainly earned my sub!

  • @omarsec3178
    @omarsec3178 4 года назад +3

    I'm a 14 years old kid from Bangladesh. After learning advanced Python, Solving medium or high
    level problems are still hard for me but this course is the most helpful course on the RUclips I have ever seen before.

  • @basmakhalid6566
    @basmakhalid6566 6 лет назад +5

    You're the best thing l've discovered in RUclips so far
    Thank you man !

  • @NguyenTrang-je6zg
    @NguyenTrang-je6zg 6 лет назад

    my professor spent 3 hours to explain about class but we still don't get a single meaning. this 20 minutes is way much better

  • @bradmorgan60
    @bradmorgan60 10 месяцев назад

    Learning C right now and this video is perfect for background knowledge on pointers. Thank you for this.

  • @jayhiryu2139
    @jayhiryu2139 3 года назад

    You are the first to hold my attention while talking about this because its something the average person can relate to

  • @nithinsukumar5751
    @nithinsukumar5751 6 лет назад +18

    You are the best teacher...

  • @Jukebox300Minecraft
    @Jukebox300Minecraft 4 года назад +1

    In case anyone's wondering how to examine the memory and storage on Windows: To see your memory, right click on the start icon and click on system. Your memory should be under Device Specifications. To see your storage, open file explorer, click on This PC, and your storage should be listed under Local Disk (C:). You can right click on Local Disk (C:) and select properties for more information. To see how much memory, your applications are using, open the Task Manager application and it'll show memory usage, cpu usage, among other things under the Processes tab.

  • @rudycarv2197
    @rudycarv2197 2 года назад

    There so many Really Good Channels with Intelligent Developers Behind them but CS Dojo is Outstanding , very Clear and easier to understand what's been thought on Any Subject related to Software.
    Well Done all the Best

  • @ashishnagar
    @ashishnagar 6 лет назад

    Yor are setting the standards for online tutorials explanation of concepts. Great work.

  • @Andrew-pb2px
    @Andrew-pb2px 6 лет назад +1

    great videos! I'm a product manager in Silicon Valley and this has been a helpful course! Keep up the great work!

  • @nocode659
    @nocode659 6 лет назад +6

    Thanks man! Waiting for the advanced concepts as well!

  • @aspenhollyer1121
    @aspenhollyer1121 6 лет назад +4

    You're an incredible teacher! Thank you so much for these videos, I'm finding them very helpful.

  • @zeyiwang5055
    @zeyiwang5055 6 лет назад

    Very useful for people who have limited programming skills to understand some basic knowledges. Can't wait for the next video!

  • @nehabharati5738
    @nehabharati5738 4 года назад +1

    Woowww..Really awesome explanation on memories and storage. I've never had a more clear understanding than this before!! Thank you

  • @Jukebox300Minecraft
    @Jukebox300Minecraft 4 года назад +3

    Fun fact: If you're wondering how hibernate works on Windows, your PC takes all of the data from your memory and writes it onto a folder in your storage/hard drive before your computer powers off. When it powers back on, the data from that folder is written back onto your memory, and it appears as if your computer was never off in the first place!

  • @herlinadwilestari-c5d
    @herlinadwilestari-c5d 5 месяцев назад

    When I was in college, my lecturer never explained 'bout this. Thank you for making it easy to remember.

  • @karlatorress13
    @karlatorress13 6 лет назад +3

    @cs dojo you are very inspirational. Such a good attitude man keep the great content coming !

  • @MdRafiurRahman-mr7fz
    @MdRafiurRahman-mr7fz 4 года назад +1

    I just love the way he explains every topic is his videos. Just mind-blowing.😍😍😍

  • @andresacosta2183
    @andresacosta2183 3 года назад

    This is the best explanation I have seen of how memory works, thanks for sharing your knowledge.

  • @missphantomhive2796
    @missphantomhive2796 4 года назад +1

    Now this video was life-changing!

  • @mennaxart6970
    @mennaxart6970 2 года назад

    Finally i understand the relatedness between codes , storage and memory in computer. Thank u for your simple methods of explanation 🌹✨

  • @ralphng9515
    @ralphng9515 3 года назад

    His content is good but more importantly his attitude towards life. Look at how chill he is :)

  • @muntadheralnoor8365
    @muntadheralnoor8365 3 года назад

    Best emphasis on memory I've come across thanks !

  • @Nihitha1215
    @Nihitha1215 4 года назад +1

    What an amazing explanation of memory.well done sir.

  • @kerrtvtutorials
    @kerrtvtutorials Год назад

    Great video! As always.

  • @kevintran6102
    @kevintran6102 6 лет назад +1

    Thank you. Really helpful. To become a good software engineer we need to understand fundamental knowledge like this one.

  • @truejohnsolo
    @truejohnsolo 5 лет назад

    This video was so good. Such clear and concise explanation with excellent examples to illustrate the points and make them clearer.

  • @BNR-Ant
    @BNR-Ant 6 лет назад

    This is great to prepare for my upcoming semester. Some things I skipped but in all they were great explanations.

  • @LashaGoch
    @LashaGoch 4 года назад

    How happy I am when I google some topic and it directs me to your videos!!! Thanks, man! Keep going!

  • @anavitoriaviana1572
    @anavitoriaviana1572 3 года назад

    i feel like this dude just saved my graduation. thanks, man! hugs from brazil :D

  • @okrek6
    @okrek6 6 лет назад

    Helping me study for my first exam on Tuesday. Thank you so much!

  • @jitendrashelar4123
    @jitendrashelar4123 2 года назад

    You are such a great teacher! I just can't believe I got this concept. You made it so easy to understand. Hats off to you sir and thank you very much!

  • @Blaskillo
    @Blaskillo 6 лет назад

    Thank you very much for sharing all your knowledge, I am following your udemy course about 11 coding interview questions, and most of your RUclips videos. I am preparing myself to pass an interview for Google and you are helping me a lot. Thanks

  • @emerywolf9568
    @emerywolf9568 6 лет назад

    Bro you are really good. I will spread you around to my classmates. You have the best tutorials I've seen in a long time

  • @sitrakaratsimba8103
    @sitrakaratsimba8103 6 лет назад

    Damn, I was sleeping watching CS50 2017 because I had no idea what Pr. David Malan was talking about (he is a great teacher too), but with your videos, I start connecting the dots so thank you! I'll rewatch the CS50 after yours! Nice :)

  • @eyalpery8470
    @eyalpery8470 6 лет назад

    Some gaps at work were filled thanks to this video.

  • @wonderfulnature1324
    @wonderfulnature1324 6 лет назад

    Best online lessons i ever met.. keep it up,, please..

  • @dambujopaulo4204
    @dambujopaulo4204 6 лет назад

    The best teacher ever

  • @scottanderson6762
    @scottanderson6762 Год назад

    You are the man... You explain these concepts so well. Thanks

  • @krimbelkacem5751
    @krimbelkacem5751 6 лет назад +107

    i do not have a storage everything will be forgotten after i sleep!? thanks for the video anyway

    • @fadeking8067
      @fadeking8067 5 лет назад +2

      CRAZY

    • @tameemsani7387
      @tameemsani7387 4 года назад +3

      Actually if the computer is in sleep mode the tabs will still there right. If you shut down the memory is gone. Ain't that right?. So when sleep it is sleep mode and when you die it's shut down mode. 😅

    • @urfavchickenlegs8797
      @urfavchickenlegs8797 4 года назад

      you lie. you cant install any applications if your computer doesn't have any storage.

    • @simba8073
      @simba8073 3 года назад

      So well said

  • @aldwindelgado2292
    @aldwindelgado2292 5 лет назад

    I downloaded all your python tutorials for beginners and it's time learn something new today. Also, i do recall your video about Data Structure and algorithms.
    Hontouni Arigato YK sensei!!
    Greatings from Philippines 😁

  • @thatguynar
    @thatguynar 6 лет назад

    As someone without a cs background, this is a godsend.

  • @jakobfredriksson2272
    @jakobfredriksson2272 4 года назад +2

    "I think it's something similar for windows too". Yes, there is! We're pressing CTRL + ALT + DEL to get access to activities... Funny how this infamous command sequence, often used when windows crashed once an hour back in the 90's/00's, is used for this purpose as well =)

  • @akumasdeception
    @akumasdeception 3 года назад

    This video is brilliant, thank you CS Dojo!

  • @naveennk1534
    @naveennk1534 6 лет назад

    Data structure and algorithm wow ,its great bro we want more.

  • @priyansubiruly8189
    @priyansubiruly8189 6 лет назад +1

    You have totally simplified the array concept. You are a brilliant teacher. Looking forward for your python videos. Love from India. :)

  • @martinunknown6317
    @martinunknown6317 6 лет назад

    Very well explained, thank you very much! Looking forward to the next videos for this series!

  • @rajneel4065
    @rajneel4065 6 лет назад

    Brother we need you. Please continue data structure and algorithm series.
    Thank you.

  • @e.g.1651
    @e.g.1651 5 лет назад

    Thanks for this very helpful video !
    I'm a beginner, but i understood this topic in a very smooth way, keep doing this good work !

  • @nehat786
    @nehat786 6 лет назад

    Love you so much dojo! You are the champ of teaching. Very well explained. Keep up the good work.

  • @RusuTraianCristian
    @RusuTraianCristian 4 года назад +1

    Them paint skills are strong in this one! :D Good video!

  • @oleechinthailand8263
    @oleechinthailand8263 6 лет назад

    You draw me a picture. Easy to understand. Great content.

  • @nominlee8345
    @nominlee8345 Год назад

    i m really glad i found you in my learning process

  • @tobiburrahman7572
    @tobiburrahman7572 6 лет назад

    Continue on with this series(DS&A)... It will help me prepare for exams and interviews.. Thanks CS Dojo :)

  • @lkhagvadulamgombosuren3925
    @lkhagvadulamgombosuren3925 2 года назад

    Thank you for your video. It was great lesson to understand why arrays aren't sizable.

  • @jamesjohn8397
    @jamesjohn8397 3 года назад

    you presented this technical information in a very graspable manner - great !! well done!

  • @shishirjha7744
    @shishirjha7744 6 лет назад

    You r brilliant. Such clarity of concepts and accent. You seem to be the Young Feynman in Computer Science. Keep on educating us. All the best for all youe endeavours.

  • @abhijeetkushwah5854
    @abhijeetkushwah5854 4 года назад

    Your channel is really just mind blowing.what you teach is so organized and it can be remembered for a long time. Please keep it going
    I am your permanent student from india

  • @appkr4184
    @appkr4184 2 года назад

    Very concise and clear explanation. Many thanks!

  • @vandangorade6738
    @vandangorade6738 6 лет назад +2

    Ur concepts are crystal clear 👍

  • @ICT_student_study_time
    @ICT_student_study_time 4 года назад

    Beautifully explained, you are a charm. Keep the good work up! - Learnt a lot

  • @MK-nj5bm
    @MK-nj5bm 6 лет назад

    Arguably the best python channels... cant wait for the Django tutorials **FINGERS CROSSED**

  • @portfedh
    @portfedh 2 года назад

    I finally got it after this video. Thank you!

  • @emmanueldamasco5996
    @emmanueldamasco5996 4 года назад +1

    You are so good i want to learn more here love it 😍👍

  • @osamahamin8145
    @osamahamin8145 6 лет назад

    keep it bro , do not stop

  • @Michael-zl5oe
    @Michael-zl5oe 6 лет назад

    you are a very inspiring person !! thank you so much for your videos !! your explanations are very clear and your english is very easy to understand for not english native people like me !!

  • @bonsaiplant6731
    @bonsaiplant6731 9 месяцев назад

    *Key Points:*
    - It's very unusual to have mixed variable types in an array
    - You can't just add more partitions at the end of an array
    After already allocating memory for a list, you don't know what'll be allocated after that and to store an array you need consecutive bytes.
    To add more you need to dynamically create a new, longer array and copy over those values to it again.

  • @dougschallmoser
    @dougschallmoser 4 года назад

    I love your clear explanations! Very helpful.

  • @edidiongbassey919
    @edidiongbassey919 Год назад

    This is the best video l have watch in my entire life ,am happy keep up.

  • @marcuswilson1230
    @marcuswilson1230 6 лет назад

    You are a great teacher. This video helped me a lot!

  • @ahmed_raaphat
    @ahmed_raaphat 4 года назад

    The best and simplest explanation ever

  • @sudarshansharma2896
    @sudarshansharma2896 6 лет назад

    Amazing explanation buddy, you are great and you explained superbly and who hasn't been studied DS&A evan a single time then that person also can understand that how each & everything is being processed.
    Keep updating your tutorials on DSA, Python & Java as well.
    Thanks man!!!

  • @simphiwesiza4539
    @simphiwesiza4539 6 лет назад

    hay my guy it's cool bro to share your knowledge with other people
    you are the best teacher...

  • @chandanadas7860
    @chandanadas7860 6 лет назад

    excellent video.your understanding and teaching stuff are genuinely so good.please make more stuff like this..i have already watched your many video that others are soo Good.

  • @mukul9choudhary
    @mukul9choudhary 4 года назад

    You're doing a great job,buddy. Thank you.

  • @bibarsov
    @bibarsov 6 лет назад

    Very illustrative lesson, thank you.