Thanx for uploading this series. I am facing one doubt. What do we mean by this- for(auto it : elements) { ------} I have seen this at many places in competitive coding
if you write int a; then you are confirmed that, a is of type "int" but here, we exactly don't know ..what the exact type of it ..that's why we use auto
Bhaiya Binary_search() function IN STL C++ me jab ham uski decresing order me sort karke element ko find karte hai to not present kyu batata hai, jabki element present hota hai....bas ascending order ke liye he kam karta hai kya....app ek bar check karna....sort(arr,arr+n,greater());