Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
Misc
7.7K+ articles
Mathematical
5.1K+ articles
C++
3.8K+ articles
STL
1.3K+ articles
Searching
1.0K+ articles
Binary Search
530+ articles
cpp-containers-library
93+ articles
cpp-algorithm-library
81+ articles
cpp-multiset
66+ articles
cpp-binary-search
5 posts
Recent Articles
Find the root of given non decreasing function between A and B
Last Updated: 12 July 2025
Given three numbers a, b, and c that forms a monotonically increasing functionf(x)of the form a*x2 + b*x + c and two number A and B, the task is to find the root of the fu...
read more
Searching
Mathematical
DSA
Binary Search
cpp-binary-search
Maths
multiset upper_bound() in C++ STL with Examples
Last Updated: 11 July 2025
The multiset::upper_bound() is a built-in function in C++ STL that returns an iterator pointing to the immediate next element which is just greater than k. If the key pass...
read more
Misc
C++
STL
cpp-containers-library
cpp-multiset
cpp-binary-search
std::lower_bound in C++
Last Updated: 19 January 2026
std::lower_bound is a Standard Template Library (STL) algorithm used to find the first position where a given value can be inserted in a sorted range without violating the...
read more
Misc
C++
STL
cpp-algorithm-library
cpp-binary-search
Binary Search functions in C++ STL (binary_search, lower_bound and upper_bound)
Last Updated: 04 June 2026
Binary search functions in C++ STL provide an efficient way to search and locate elements in sorted containers. These functions use the binary search algorithm internally ...
read more
C++
Binary Search
STL
cpp-algorithm-library
cpp-binary-search
std::upper_bound and std::lower_bound for Vector in C++ STL
Last Updated: 15 November 2025
The std::upper_bound() and std::lower_bound() perform binary search on random-access STL containers and are defined in algorithm. Here, we focus on their use with vectors ...
read more
C++
STL
cpp-vector
cpp-algorithm-library
cpp-containers-library
cpp-binary-search