By now you’ve learned all about arrays, but did you know there are more data structures in programming? Lists are one of the most popular data structures in programming, as they allow for flexibility. Unline arrays, their length is not fixed and you can insert and delete elements at any point! Cool, right?
As always, we advise you to pause the video right before the solving part of a problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video.Â
*The exercise descriptions are to be found in the PDF document at the end of this post.
Lesson Topics
Lists
- Overview
- Usage
List Manipulation
- Add, Insert, Remove, Clear
Reading and Printing Lists
Sorting Lists and Arrays
- sort(), reverse()
Practical Exercises
Watch the video and solve the problems. To better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.
Submit your code in the SoftUni Judge System: