Tags
Language
Tags
June 2025
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
    Attention❗ To save your time, in order to download anything on this site, you must be registered 👉 HERE. If you do not have a registration yet, it is better to do it right away. ✌

    ( • )( • ) ( ͡⚆ ͜ʖ ͡⚆ ) (‿ˠ‿)
    SpicyMags.xyz

    C++ Data Structures with Templates: from first principles in C

    Posted By: AlenMiler
    C++ Data Structures with Templates: from first principles in C

    C++ Data Structures with Templates: from first principles in C by Michael Griffiths
    English | 2018 | ASIN: B07DWLBGY1 | 419 Pages | MOBI | 911.74 KB

    The book explores the development of a series of key data structures using C and C++. The reader is taken on a graduated journey with each chapter leading to the development of a new C++ template class.

    The data structures are:

    A Linked List, including a double linked list that allows a look at list reversal and sorting.

    A FiFo Queue class based upon a linked list looking at the benefits and subtle challenges of sub-classing.

    A LiFo Stack class.

    An introduction to binary trees that includes tree balancing techniques including the DSW algorithm which is a nice introduction to rotations.

    An AVL self-balancing binary tree that maintains a near optimal balance through insertions and deletions.

    A Red-Black tree that is optimised for frequent insertions and deletions.

    A Splay tree optimised for repeated and frequent interaction with a sub-set of the tree data items.

    A Map class based upon a Red-Black binary tree.

    Hash tables – developing both the linear probing and separate chaining types.

    A Vector class representing an efficient resizable array.

    An introduction to binary heaps and the development of a priority queue based upon a heap.

    A set class based upon a modified AVL tree.

    The reader is presented with a range of iterator types and is introduced to template specialization.

    The book includes C++ demonstration code for each data structure. Additional code samples are supplied for programmers targeting the Arduino IDE which has some variations.