I learned while iterating in containers one must not modify its size or elements. Instead create a new container ,it is useful in many strings question I did. Also modified my code many times as it would show some or other problem in an edge or a critical test case. Also I want to learn to write optimized codes.







