Tag: data-structures
All the articles with the tag "data-structures".
-
Stack Using Linked List in C++: Dynamic Node & Pointer Implementation
Learn how to implement a Stack using a singly linked list in C++ from scratch. Understand Node structs, the top pointer, dynamic memory allocation with new and delete, destructor cleanup, visual pointer diagrams, and array vs linked list trade-offs.
-
Stack Using Vector in C++: Step-by-Step Class Implementation
Learn how to implement a Stack using std::vector in C++. Includes visual diagrams, step-by-step explanations of push_back, pop_back, and back, a complete C++ class implementation, and complexity analysis.
-
Stack in C++: Complete Beginner's Guide
A stack in C++ stores elements in LIFO order, so push, pop and top all work on one end. Learn each operation and std::stack with a full example.
-
Python: Control Flow and Core Data Structures
A comprehensive guide to Python control flow and core data structures covering branching conditionals, loops, lists, tuples, sets, dictionaries, comprehensions, and Big-O performance.