Tutorvo

Capstone – Pick the Structure: Steps per Operation, Total Steps for a Workload, the Winner and a Chart

Lesson 8 of 820 minLab

This lesson is part of the course

In this lesson

You turn n into the number of tree levels, multiply a fictional hourly workload by the toy step counts of four structures with SUMPRODUCT, name the structure with the fewest steps and chart the totals.

Buy the course once for $9.99 to unlock every lesson and lab, the final exam and the certificate – lifetime access, no subscription.

Lessons in this course

  1. Arrays and Indices: Positions from 0, Reading by Index, Element Addresses and the Cost of InsertingLab15 min Locked
  2. Stacks: a Push/Pop Log, the Top Pointer per Step, the Value on Top and Balanced BracketsLab15 min Locked
  3. Queues and Ring Buffers: Head and Tail Pointers, Wrap-Around with MOD, Full and Empty FlagsLab15 min Locked
  4. Linked Lists: Value and Next-Pointer Columns, Walking the List, Inserting by Re-PointingLab15 min Locked
  5. Binary Heaps: a Tree Stored in an Array, Parent and Child Indices, Sift-Up Step by StepLab15 min Locked
  6. Binary Search Trees: Levels of the Nodes, the Path of Comparisons for a New Key, Balanced vs DegenerateLab15 min Locked
  7. Sorting Passes: Bubble Sort Pass by Pass, Swaps per Pass, Insertion Shifts and the Merge StepLab15 min Locked
  8. Capstone – Pick the Structure: Steps per Operation, Total Steps for a Workload, the Winner and a ChartLab20 min Locked