Skip to content

Kishor-bharti/Data-Structures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Core STL Containers (Standard Template Library)

  • Array (additional) ✅
  • String (additional) ✅ {13 operations}
  • vector ✅ {12 operations}
  • stack ✅ {5 operations}
  • queue ✅ {6 operations} (Types: priority_queue✅, deque✅)
  • deque ✅ {8 operations}
  • priority_queue ✅ {5 operations}
  • Linked List ✅ {16 operations}
  • set ✅ {9 operations (need to rem)} (Types: multiset , unordered_set✅)
  • multiset ❗❗
  • unordered_set ✅ {7 operations} (it is similar to hashset in java)
  • map ✅ {14 operations} (similar to unordered_map, it just ordered!)
  • multimap ❗❗
  • unordered_map ✅ {14 operations}
  • tuple ✅ {4 operations}
  • pair ✅ {4 operations}

<bits/stdc++.h> includes:

  • <iostream>
  • <vector>
  • <string>
  • <algorithm>
  • <map>
  • <set>
  • <unordered_map>
  • <queue>
  • <stack>
  • <cmath>
  • <climits>
  • <cstdio>
  • <cstring>
  • many more...

It’s a part of C++ Standard Library.

Provides generic classes and functions for common data structures and algorithms.

Containers are one major component of STL — they store objects and data in various ways.

Main Components of STL

  1. Containers – store data
  • vector, deque, list, stack, queue, priority_queue, set, map, etc.
  1. Algorithms – perform operations on containers
  • sort(), find(), binary_search(), for_each(), etc.
  1. Iterators – provide a way to access container elements
  • begin(), end(), rbegin(), rend()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages