Please help me optimize my solution or tell me other solution with proper comments and explanation.
I will be greatly thankful.
Please help me optimize my solution or tell me other solution with proper comments and explanation.
I will be greatly thankful.