Edotorial solution was wrong


#1
  1. every string was fixed what if each string was not fixed have different sizes.
    2)Once X at a particular position visit after that the position should not be visited.