Skip to content

Tag Archives: cpp-list

list::rbegin() is an inbuilt function in C++ STL that returns a reverse iterator which points to the last element of the list. Syntax: list_name.rbegin() Parameter:… Read More
The list::max_size() is a built-in function in C++ STL which returns the maximum number of elements a list container can hold. Syntax: list_name.max_size() Parameters: This… Read More
The list::push_front() is a built-in function in C++ STL which is used to insert an element at the front of a list container just before… Read More
The list::pop_back() is a built-in function in C++ STL which is used to remove an element from the back of a list container. That is,… Read More
The list::pop_front() is a built-in function in C++ STL which is used to remove an element from the front of a list container. This function… Read More
The list::reverse() is a built-in function in C++ STL which is used to reverse a list container. It reverses the order of elements in the… Read More
The list::resize() is a built-in function in C++ STL which is used to resize a list container. It takes a number n as parameter and… Read More
The list::size() is a built-in function in C++ STL which is used to find the number of elements present in a list container. That is,… Read More
The list::remove() is a built-in function in C++ STL which is used to remove elements from a list container. It removes elements comparing to a… Read More
The list::empty() is a built-in function in C++ STL is used to check whether a particular list container is empty or not. This function does… Read More
The list::end() is a built-in function in C++ STL which is used to get an iterator to past the last element. By past the last… Read More
The list::erase() is a built-in function in C++ STL which is used to delete elements from a list container. This function can be used to… Read More
The list::front() is a built-in function in C++ STL which is used to return a reference to the first element in a list container. Unlike… Read More
In hashing there is a hash function that maps keys to some values. But these hashing function may lead to collision that is two or… Read More

Start Your Coding Journey Now!