Brillio Interview Question

Solve some basic coding problems and sorting algorithms , the coding problem included , find whether a word is a palindrome or not , I used brute force and at the end the interviewer advised me to check up on simple ways to solve such problems.