AptAmigo Interview Question

Algorithm: Palindrome , sorting, and substrings