Pregunta de entrevista de Business Automation

first string = "abcd" second string = "pqrs" ans string = "apbqcrds" like this and there was another problem from javascript. which was to make a table