- In a star pattern, treat
Rowsas a outer loop Columnscan be treated as inner loop- Try to find a pattern between current
indexof outer loop and how many times against that current index of outer loop we want to run inner loop - If there is some empty spaces calculate print empty spaces and stars in different loop
star-patterns
Directory actions
More options
Directory actions
More options
star-patterns
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||