From 4edd853e6b2a9d44a657289036b6fa847d39ffb3 Mon Sep 17 00:00:00 2001 From: joric Date: Fri, 12 May 2023 06:14:35 +0500 Subject: [PATCH] updated files --- programming/binary-search/count-element-occurence.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programming/binary-search/count-element-occurence.md b/programming/binary-search/count-element-occurence.md index da3d8e3..db69ab3 100644 --- a/programming/binary-search/count-element-occurence.md +++ b/programming/binary-search/count-element-occurence.md @@ -2,7 +2,8 @@ https://www.interviewbit.com/problems/count-element-occurence - easy std solutions */ +```cpp +/* easy std solutions */ int Solution::findCount(const vector &A, int B) { auto lower = lower_bound(A.begin(), A.end(), B); auto upper = upper_bound(A.begin(), A.end(), B);