Skip to content

Latest commit

 

History

History
37 lines (35 loc) · 2.81 KB

[EP 4] C++ STL.md

File metadata and controls

37 lines (35 loc) · 2.81 KB

C++ STL

C++ STL (Standard Template Library) is a powerful set of C++ template classes to provide general-purpose classes and functions with templates that implement many popular and commonly used algorithms and data structures like vectors (dynamic arrays), lists, queues, and stacks. Out of these vectors, maps and sets are the most commonly used containers.

Reading material:

  • Hackerearth blog - Click
  • std::vector
  • std::set
  • std::map
  • C++ Iterators and ranges - CPH Ch 4, pg 39 - 41
  • Topcoder blogs - Part 1 Part 2
  • Further reading (optional)
    • std::bitset - CPH Ch 4, pg 41
    • std::deque - CPH Ch 4, pg 42
    • std::stack - CPH Ch 4, pg 42
    • std::queue - CPH Ch 4, pg 43
    • std::priority_queue - CPH Ch 4, pg 44
    • Policy-based data structures (not part of STL) - CPH Ch 4, pg 44
Problems