SoftwarePlus.ai

All PlusBooks

DataStructures+

Learn data structures in Python or JavaScript, and watch what your code builds.

FreeVersion 1.0For Windows PCs

What it is

DataStructures+ is a textbook you can run. It follows Dr. Ron Eaglin's course Data Structures (COP3530) topic by topic: lists and arrays and Big O, stacks and queues, recursion, sorting, hashing and hash tables, binary trees, AVL trees, heaps and tries, graphs, and an applied ending with a blockchain.

One book in more than one language. Every example and exercise is written in Python and in JavaScript (C is planned). The learner chooses the language in the Language box at the top right of the window and can change it at any time; their code is kept for each language. A side-by-side view shows the same code in both, to learn one language from the other.

The structures, drawn. A linked list, a tree, a heap, a hash table or a graph is drawn as nodes and arrows the way it is drawn on the board, beside the code: when an example opens, after every run, and at every step of the Stepper, which replays a run one line at a time.

DataStructures+ works offline. Your progress stays on your computer, in your own file.

DataStructures+ is a PlusBook: a textbook that runs, with the lesson, examples to try, exercises that check your work, your notes and a progress report in one window.

What is in the book

Start here, then the course's fifteen modules, each a set of items (a lesson, worked examples, an exercise and a self-test) ending with a module check:

  1. Getting started in your language
  2. Lists and arrays: structure and Big O
  3. Lists and arrays: algorithms and operations
  4. The stack
  5. The queue
  6. Recursion
  7. Computational complexity: a deeper look
  8. Sorting algorithms
  9. Hash compression
  10. Hash tables
  11. Hash algorithms and applications (password hashing, salting, file integrity)
  12. Binary trees and binary search trees
  13. Advanced trees: AVL trees, heaps and tries
  14. Graphs
  15. Applied data structures: blockchain, digital currency and beyond

Help

How to use DataStructures+: choosing your language, the tabs of each item, seeing the structures, and checking your work.

What you can do

  • Choose Python or JavaScript, and change it at any time. An item is complete when its exercise passes in either language.
  • Read a lesson's code in your language, or in both side by side (View ▸ Show other languages side by side).
  • Run any example or your own code, and see the structure it built drawn beside the code.
  • Step through a run a line at a time, forward and back, with each call's variables and the structures drawn as they change.
  • Press Check my answer: your code and the book's answer run through the same tests, including hidden ones; the values your methods give back and the structure they leave behind are compared, and Show the structure draws yours beside the one expected. Common mistakes are named.
  • Rules a structure must keep are checked for you: a binary search tree in order, a heap's parents and children, a doubly linked list's links, a hash table's buckets.
  • Keep your own notes, look up key terms, have a page read aloud, and hand in a signed PDF progress report.

Who it is for

Students taking a first course in data structures, such as COP3530, in Python or JavaScript, and anyone learning data structures on their own; instructors who want their students to practise between classes.

When

DataStructures+ 1.0 is with its first testers and is coming to the Microsoft Store, free: DataStructures+ on the Microsoft Store. Its privacy policy: it works offline and sends nothing about learners.

Who made it

Created by Dr. Ron Eaglin.