Reverse a StringToday I have solved reverse a string problem on GFG. We regularly solve it by using for loop but today I have decided to solve it using another method hence I have used StringBuilder class to solve it it is very easy. You just need a little bit knowl...Aug 14, 2023·1 min read
Implement AtoiHello coders I'm Dhanraj. In this post, I will show you how to implement our own atoi function in Java. This function can convert a string to an integer, even if the string contains a negative sign. It also returns -1 if the string has any non-digit ...Mar 21, 2023·2 min read
AnagramHello coders, today I have solved a DSA problem on string manipulation that involves finding anagrams. An anagram is a word or phrase formed by rearranging the letters of another word or phrase, typically using all the original letters exactly once. ...Mar 18, 2023·2 min read