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.
firstly, there is no array neither in the question nor in my solution .I have asked to make a bigger string of whole numbers and also the testcases are string of not more than 32 character.
secondly, i didn't tell to use find algo of stl as stated by you, i asked to use search algo. of stl on a given string so as to compare that the given string is a substring of the bigger string or not.
Separate the Numbers
You are viewing a single comment's thread. Return to all comments →
firstly, there is no array neither in the question nor in my solution .I have asked to make a bigger string of whole numbers and also the testcases are string of not more than 32 character. secondly, i didn't tell to use find algo of stl as stated by you, i asked to use search algo. of stl on a given string so as to compare that the given string is a substring of the bigger string or not.
for more reference , check it