Data Structure
Java
Python
HTML
Interview Preparation
Interview Prep
Tutorials
Tracks
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.7K+ 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
Popular 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: 20 September 2025
In C++, the std::lower_bound() is a built-in function used for a sorted container and a given value. It mainly finds the position of the first occurrence not less than (ei...
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: 23 July 2025
In C++, STL provide various functions like std::binary_search(), std::lower_bound(), and std::upper_bound() which uses the the binary search algorithm for different purpos...
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