Problem 45400. Fault in our Stars - 01

Create a ladder pattern with n-steps and b-width.

For example,

 For n=2, b=5 -- the ladder would look like -
    '*   *'
    '*   *'
    '*****'
    '*   *'
    '*   *'
    '*****'
    '*   *'
    '*   *'

Solution Stats

63.41% Correct | 36.59% Incorrect
Last Solution submitted on Jan 29, 2026

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers19

Suggested Problems

More from this Author174

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!