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.
Instead of using j==10, u used j==strlen(h) which will increase execution time due to execution of strlen() function. So, according to me its better to use j==10.
Correct me if i m wrong. I m a beginner and try u learn form others code.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
HackerRank in a String!
You are viewing a single comment's thread. Return to all comments →
Instead of using j==10, u used j==strlen(h) which will increase execution time due to execution of strlen() function. So, according to me its better to use j==10. Correct me if i m wrong. I m a beginner and try u learn form others code.