Skip to content
Today's problem
Algorithms
Algorithms
Roadmap
Problems
Articles
CS
Algorithms
/
Star Patterns
Fundamentals
Beginner
Star Patterns
Learn loop control flow and nested loops by building visual star geometry.
7
Algorithms
✓
Custom inputs
Algorithms in this module
01
Right Triangle
O(N²)
time
·
O(N²)
space
▶ Visualize
02
Inverted Triangle
O(N²)
time
·
O(N²)
space
▶ Visualize
03
Pyramid
O(N²)
time
·
O(N²)
space
▶ Visualize
04
Inverted Pyramid
O(N²)
time
·
O(N²)
space
▶ Visualize
05
Diamond
O(N²)
time
·
O(N²)
space
▶ Visualize
06
Hollow Square
O(N²)
time
·
O(N²)
space
▶ Visualize
07
Butterfly
O(N²)
time
·
O(N²)
space
▶ Visualize
Every Star Patterns page
Star Patterns
Right Triangle
Inverted Triangle
Pyramid
Inverted Pyramid
Diamond
Hollow Square
Butterfly