×

Learn basic concept of c , c++ and python programming in regularcodes.com

# Print lower triangular matrix

Write an efficient algorithm to print lower triangular matrix in 2d array.

For example.

View matrix in array form

Program to display lower triangular matrix in c. Time complexity O(n).

**Output**

View process.

Submit your solution in comment section.

#### Recommended Posts:

- Dynamic allocation of array in c
- Sum and Average
- Count occurrence of duplicate element
- Program to print the Alternate elements in an array
- How to find nth element from the end of linked list
- Post order traversal of binary tree without recursion
- Singly linked list insert data in ascending order
- Merge two sorted linked lists
- Sum of all Right leaves nodes of given binary tree
- Parameterized constructor
- Destructor in cpp

View comments and participate Discussion