Guys i have been meaning to ask that there are some codes that i went through for the question here, and the solution code is not running in my normal online compiler. What shall be the reason and how can i solve this problem to avoid this in future ?