You can describe your experience like this:
"I successfully cleared two coding rounds focused on programming topics, including arrays, strings, and pattern problems. However, I couldn't clear the interview round despite my efforts. I see this as a learning opportunity to improve my interview skills and technical communication."