Learn how to store a sequence of characters in your code with the string data type. Also, learn why a string is implemented with a data structure and why it is not considered a primitive type.
- Often in our programs…we want to store a series of characters.…For example, you might want to store a person's name…or the title of a book or something else that contains…a sequence of ordered characters.…To do this, we use something called a string.…A string is a sequence of characters.…It's a data type that's built out of another data type.…Just like our Happy Birthday banner from earlier.…In practice this means if we wanted to store…more than just a single letter,…for example, a whole first name, say Jessica,…then we would write the whole thing in a string…instead of saving each character in a variable individually.…
- Data types: Booleans, numbers, strings, and more
- Multidimensional arrays
- Jagged arrays
- Search and sort arrays
- Linked lists
- Stacks and queues
- Hash functions and hash tables
- Trees and graphs
Skill Level Intermediate
Understand data structures1m 25s
1. Introduction to Data Structures
4. Stacks and Queues
5. Hash-Based Data Structures
6. Trees and Graphs
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.