We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Greedy
- Priyanka and Toys
- Discussions
Priyanka and Toys
Priyanka and Toys
Sort by
recency
|
504 Discussions
|
Please Login in order to post a comment
charge refund mil jaega aapko 1199 rupaye aapko pahle charge karna hoga FIR aapko refund mil jaega
C++ implementation : Intution:- First sort the array and then check with the first element(threshold) if the element is <= threshold+4 , keep going and when it fails the condition increment the answer.