As simple as that...Iam at last time prep for interview....Got this video.... simple....i just stopped the video at 3:07.....i don't need explanation... //take string //converting it into character array //sort that character array ----> Arrays.sort() //use .equals to check the content //and return boolean result(which is either true or false) NOTE : first conditions for a strings to be an anagram (both length should be equal)