DEV Community

Discussion on: Top 20 String Coding Problems from Programming Job Interviews

Collapse
 
javinpaul profile image
javinpaul

Well, while you are correct, it's about logic. In reality, it's better to use StringBuilder.reverse() but yes, mentioning that fact can impress some interviewers too.