Infosys Interview Question

Palindrome sequence, how to delete null values in a row