Codey and CodeNection
https://www.hackerrank.com/contests/codenection-2024-preliminary-round-closed-category/challenges/cn24-1
Last updated
https://www.hackerrank.com/contests/codenection-2024-preliminary-round-closed-category/challenges/cn24-1
Last updated
Codey loves creating patterns with letters! Codey wants to print a right-aligned pattern consisting of n
rows using the letters from the word CODENECTION
. Help Codey to build this unique pattern.
The first line contains an integer n
, which represents the number of rows of the pattern.
Output the right-aligned pattern.