Question link: CodeChef: Practical coding for everyone
Solution Link : CodeChef: Practical coding for everyone
You missed the upperbound of the number that is to be inserted (in case of multiple presence of the number).
1 Like