Wave print column wise


In ide, it is working perfectly. but not in hackerblocks

@Shortcuttohell while taking input you have taken m as row and n as column but while printing you have interchanged them. since for sample case m=n hence it is passing only that test case, correct this and your code will work fine.

Thank you so much bhaiya

1 Like