Data Structures (1 of 2)

  Рет қаралды 71,732

Brian Will

Brian Will

11 жыл бұрын

Introductory coverage of fundamental data structures. Part of a larger series teaching programming. Visit codeschool.org

Пікірлер: 20
@josephthomas7644
@josephthomas7644 9 жыл бұрын
felt like I was being taught by batman haha
@briantwill
@briantwill 11 жыл бұрын
Again, though, that's true in C/C++, but not Python and some other languages. In Python, a string is a base type. You can index a string to get a single-character string, but there's no character type. I probably should have just said 'non-composite' instead of 'primitive' to avoid confusion with the Java term, and I also should have been clear that strings are composite in some languages but non-composite in others.
@rock00dom
@rock00dom 8 жыл бұрын
Good to hear that I'm not the only one who confuses FIFO, LIFO, LILO and FILO all the time. On a serious note, thanks You for the video! The way you explain things makes it so that both first time learners and those who are looking for a refresher get an entertaining, well structured lesson! Keep up the good work!
@viksbish08
@viksbish08 10 жыл бұрын
This video is very powerful refresher and yet short.
@briantwill
@briantwill 11 жыл бұрын
I'm using 'primitive' in a more general sense of 'the atomic types of a language'. In Python, for example, it makes sense to call strings primitive even though the term is not used in Python.
@evolagenda
@evolagenda 8 жыл бұрын
which vid was it that you taked about stacks?
@nb7437
@nb7437 7 жыл бұрын
hey Brian, watching this in 2016. Your videos are great! A Very simple explanation which makes sense even to people like myself. Thanks a lot!
@ClickbankReviewz1
@ClickbankReviewz1 8 жыл бұрын
i love the way you explain things im having hard time understanding data structure and algorithms whats the difference between data structure and database ?what is the relationship between them ? do we get access to the database through data structures ? do we use data structure and algorithms to search and sort the back end database ? or not thank you in advance i really need your help seriously im having hard times understanding this mess
@briantwill
@briantwill 8 жыл бұрын
+Bader Rj "Data structures" are simply common patterns of how to structure data in memory (or possibly on disk). A "database" is generally a program used to store large amounts of data. Databases internally use data structures to organize the data which they store. In the code of a program, I would use data structures to organize data in the memory of my program. However, the memory of my program is not persistent (meaning the data disappears when the program ends). We use databases because efficiently and reliably storing large amounts of data persistently is a hard problem. Rather than having to write code that solves this hard problems in my own code, I can send my data to a database, which will handle this hard problem for me.
@charlesfries
@charlesfries 8 жыл бұрын
+Bader Rj Think of a database as a piece of code that someone created to manage large amounts of data (i.e. databases). In that program, the creator would use the data structures described in this video to find an efficient way to manage that computer program's memory.
@briantwill
@briantwill 11 жыл бұрын
A += B will append list B to list A, modifying A. So "self.array += [None] * self.arrayLength" will append a new list of None's to the current list in self.array
@Jayschwa
@Jayschwa 11 жыл бұрын
It looks like the existing ArrayList data will be lost upon doubling it in append().
@definty
@definty 10 жыл бұрын
Seam kinda off putting when you got the ref pointing to the middle of the list rather than the other ref addresss
@KawallaBair
@KawallaBair 11 жыл бұрын
I'm a little pedantic about this too. Strings are composite datatypes as they are effectively character arrays.
@mohammedakberaliansariniza3844
@mohammedakberaliansariniza3844 3 жыл бұрын
IT-17
@themeeman
@themeeman 5 жыл бұрын
You should probably have used a different language to python, as it is not pythonic and a bad practice to write getters and setters in it.
@thesomeoner
@thesomeoner 11 жыл бұрын
A String isn't a primitive data type in java, it's an Object, an Array of char's char being the primitive data type
@rwww415
@rwww415 5 жыл бұрын
sounds like the voice of bob from bobs burgers; also the guy from the arby commercials
Data Structures (2 of 2)
18:01
Brian Will
Рет қаралды 18 М.
2. Data Structures and Dynamic Arrays
50:18
MIT OpenCourseWare
Рет қаралды 479 М.
когда одна дома // EVA mash
00:51
EVA mash
Рет қаралды 11 МЛН
Она Постояла За Себя! ❤️
00:25
Глеб Рандалайнен
Рет қаралды 6 МЛН
路飞关冰箱怎么关不上#海贼王 #路飞
00:12
路飞与唐舞桐
Рет қаралды 5 МЛН
Searching and Sorting Algorithms (part 2 of 4)
13:21
Brian Will
Рет қаралды 9 М.
Unix terminals and shells - 5 of 5
14:54
Brian Will
Рет қаралды 27 М.
Understanding and implementing a Hash Table (in C)
24:54
Jacob Sorber
Рет қаралды 335 М.
Mastering Dynamic Programming - A Real-Life Problem (Part 2)
15:09
Tech With Nikola
Рет қаралды 20 М.
2. Branching and Iteration
43:31
MIT OpenCourseWare
Рет қаралды 559 М.
Searching and Sorting Algorithms (part 1 of 4)
7:08
Brian Will
Рет қаралды 21 М.
Functional Programming 1
1:24:23
Missing CS Courses
Рет қаралды 13 М.
OpenAI’s GPT-4o: The Best AI Is Now Free!
9:14
Two Minute Papers
Рет қаралды 189 М.
когда одна дома // EVA mash
00:51
EVA mash
Рет қаралды 11 МЛН