Leetcode Arrays And Strings Hackerrank Solutions Algorithm Steps