Farhan Muhamed has Published 58 Articles

C++ Program to Implement Vector in STL

Farhan Muhamed

Farhan Muhamed

Updated on 13-May-2025 19:31:01

482 Views

Vector is a special type of array in C++, which have ability to resize itself automatically during insertion and deletion of elements.. In this article, we will learn how to use the vector container from the Standard Template Library (STL) in C++. What is a Vector? A vector is ... Read More

C++ Program to Implement Stack in STL

Farhan Muhamed

Farhan Muhamed

Updated on 13-May-2025 19:30:50

1K+ Views

Stack is a linear data structure that follows the Last In First Out (LIFO) principle. In this article, we will learn how to use the stack container from the Standard Template Library (STL) in C++. What is Stack? A stack is a container that stores data in a way ... Read More

C++ Program to Implement Priority_queue in STL

Farhan Muhamed

Farhan Muhamed

Updated on 12-May-2025 19:46:02

203 Views

Priority Queue is a special type of queue in which elements can be accessed based on their priority. In this article, we will learn how to use the priority_queue container from the Standard Template Library (STL) in C++. What is Priority Queue? A Priority Queue is a container that ... Read More

C++ Program to Implement Set in STL

Farhan Muhamed

Farhan Muhamed

Updated on 12-May-2025 19:45:46

582 Views

Set is an associative container that stores unique elements in a sorted order. In this article, we will learn how to use the set container from the Standard Template Library (STL) in C++. What is Set? A Set is a container that stores data in a sorted order without ... Read More

C++ Program to Implement Set_Difference in STL

Farhan Muhamed

Farhan Muhamed

Updated on 12-May-2025 19:45:32

874 Views

The Set Difference is an operation used to find all elements present in the first set but not in the second. In this article, we will learn how to use the set_difference algorithm from the Standard Template Library (STL) in C++ to find the difference of two sets. What ... Read More

C++ Program to Implement Set_Intersection in STL

Farhan Muhamed

Farhan Muhamed

Updated on 12-May-2025 19:45:20

628 Views

The Set Intersection is an operation used to find all elements that are common in both sets. In this article, we will learn how to use the set_intersection algorithm from the Standard Template Library (STL) in C++ to find the intersection of two sets. What is Set Intersection? The ... Read More

C++ Program to Implement Set_Symmetric_difference in STL

Farhan Muhamed

Farhan Muhamed

Updated on 12-May-2025 19:45:08

320 Views

The Set Symmetric Difference is an operation used to find all elements that are present in either of the sets but not in both. In this article, we will learn how to use the set_symmetric_difference algorithm from the Standard Template Library (STL) in C++ to find the symmetric difference of ... Read More

C++ Program to Implement Queue in STL

Farhan Muhamed

Farhan Muhamed

Updated on 09-May-2025 15:39:16

789 Views

Queue is a linear data structure that follows the First In First Out (FIFO) principle. In this article, we will learn how to use the queue container from the Standard Template Library (STL) in C++. What is Queue? A Queue is a container that stores data in a sequential ... Read More

C++ Program to Implement Prev_Permutataion in STL

Farhan Muhamed

Farhan Muhamed

Updated on 09-May-2025 15:39:04

125 Views

The Prev permutation is an algorithmic operation that rearranges the elements of an array or a range of an array into the previous lexicographically smaller permutation. In this article, we will learn how to use the prev_permutation() function from the Standard Template Library (STL) in C++. What is Prev ... Read More

C++ Program to Implement Pairs in STL

Farhan Muhamed

Farhan Muhamed

Updated on 09-May-2025 15:38:46

350 Views

A pair is a container provided by the Standard Template Library (STL) in C++ that stores two heterogeneous objects as a single unit. In this article, we will learn how to use a pair from the Standard Template Library (STL) in C++. What is Pair? Pair is a utility ... Read More

Advertisements