Given a string with an odd number of characters, print the string in a cross (X) pattern. The characters should appear on the two main diagonals of a square matrix of size N x N, where N is the length…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.