on alphabet board start position 0 0 correspond character board00Here board abcde fghij klmno pqrst uvwxy z show diagram belowWe follow movesU move position row position exist boardD move position row position exist boardL move position leave column position exist boardR move position right column position exist board add character boardrc current position r c answerHere position exist board position letter themreturn sequence move make answer equal target minimum number move you return path Example 1input target leetoutput DDRUURRRDDDExample 2input target codeoutput RRDDRRUULR Constraints1 targetlength 100target consist english lowercase letter