Skip to main content

Practice

Practice: C++ STL

Apply the skills you have gained from the Learn C++ STL course to solve practice problems and become a C++ master.

  • Level: Intermediate
  • Duration: 1 week
  • Type: Interactive
  • Language: English
  • Practice Problems: 45+
Enroll for FREE

Course Content

  • 1.1 Introduction

  • 2.1 Initialize a Vector
  • 2.2 Add Elements to a Vector
  • 2.3 Modify Elements of a Vector
  • 2.4 Remove a Specific Element From Vector
  • 2.5 Add Elements to a List
  • 2.6 Access Elements of a List
  • 2.7 Modify Elements of a List
  • 2.8 Remove List Elements
  • 2.9 Add Elements to a std::array
  • 2.10 Modify Elements of a std::array

  • 3.1 Store Book ID and Name as Key-Value Pairs
  • 3.2 Add Key-Value Pairs to a Map
  • 3.3 Access Elements of a Map
  • 3.4 Change Elements of a Map
  • 3.5 Remove Elements of a Map
  • 3.6 Initialize a Set
  • 3.7 Add Keys to a Set
  • 3.8 Remove Elements From a Set
  • 3.9 Check if a Key Exists in a Set
  • 3.10 Sort a Set in Descending Order

  • 4.1 Access Stack Element
  • 4.2 Remove Stack Elements
  • 4.3 Iterate Through a Stack
  • 4.4 Access Queue Elements
  • 4.5 Remove Queue Elements
  • 4.6 Iterate Through a Queue
  • 4.7 Initialize a Deque
  • 4.8 Access the Front and Back Elements of a Deque
  • 4.9 Add Elements to a Deque
  • 4.10 Modify Elements of a Deque
  • 4.11 Remove Elements From a Deque

  • 5.1 Random Access Iterator Using begin()
  • 5.2 Random Access Iterator Using end()
  • 5.3 Bidirectional Iterator Using begin()
  • 5.4 Bidirectional Iterator Using end()
  • 5.5 Iterate Through a Container

  • 6.1 Sum of elements of a vector
  • 6.2 Sort Age of Players in Ascending Order
  • 6.3 Sort Elements in a Given Range
  • 6.4 Minimum and Maximum Marks of a Student
  • 6.5 Minimum and Maximum Elements in a Range
  • 6.6 Reverse the Order of Elements
  • 6.7 Reverse the Order For a Specific Range of Elements
  • 6.8 Finding Nemo

  • 7.1 Copy odd numbers from a vector
  • 7.2 Count the occurrence of even numbers

C++ CERTIFICATION

Get C++ certified

Get your skills verified with our certification.

Showcase your expertise on LinkedIn and stand out from the crowd. Impress your potential employers.

Start this Course
Get Certified

Learn C++ by Doing

Build hands-on projects that mirror real developer challenges. Apply what you learn immediately — so you can learn by doing, not just watching.

A woman smiling at her desk

Looking to break into tech?

Landing your first job is difficult, but you don't have to figure it out alone.

Build real projects for your portfolio, earn certificates you can share, and follow a learning path that takes you from the basics to job-ready skills.

Frequently asked questions

You can start Practice: C++ STL with a 7-day free trial. Click "Enroll for FREE" to begin.

About 1 week. The course has 7 chapters.

Practice: C++ STL is an Intermediate course. We recommend completing Learn C++ Basics, Practice: C++ Basics, Learn C++ OOP, Practice: C++ OOP, Learn C++ Intermediate, Practice: C++ Intermediate and Learn C++ STL first.

Yes. Complete Practice: C++ STL to earn a C++ certificate with your name on it, which you can download or share on LinkedIn. Certificates are included with your subscription.