โ† HSBC questions
CodingEasy

Pattern Creation with Upper and Lower Triangles

Filed under HSBC

Write a function to print an asterisk pattern of size N, consisting of an upper triangle and a lower triangle.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related HSBC questions

Collected from public candidate posts and coding forums. Updated Nov 2026.