HOLLOW DIAMOND PATTERN(PATTERN 6) Take N (number of rows), print the following pattern (for N = 5)

Most of my codes aren’t getting submitted because it shows “time limit exceeded”

Hey Anushka, copy your code on idehttps://ide.codingblocks.com, save it and share that link here. So, that we can debug your code and help you with this.