O'Reilly logo

Everyday Data Structures by William Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, you learned the basic definition of the list structure, including the difference between sorted and unsorted list and array-backed versus linked lists. We discussed how to initialize lists or pseudo lists in each of the four languages we utilize in this text. We revisited the logged-in users class to see if we could improve its performance using lists instead of arrays and learned about interesting differences between the four languages including their use of generics and class clusters in the process. Next, we created a class to represent a route for biking enthusiasts, taking advantage of the properties of linked lists to manipulate and dynamically alter our collection of waypoints on the fly.

In our advanced topics section, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required