Icon

justknimeit-28 - Left Triangle Star Pattern

justknimeit-28 - Challenge 28: Left Triangle Star Pattern
Challenge 28: Left Triangle Star PatternLevel: EasyDescription: In this challenge, you will do a little bit of logic building and produce the star triangle below. Theoutput will be such that each row in the pattern will be in the corresponding row of the table.P.S. do not hardcode the pattern.*********************Bonus Challenge: Do not use scripting nodes or components. Solution 1: Using recursive loop Solution 2: Using chunk loop (1 row at a time) Solution 3: Loop-free method Creates the seed pattern "*"Pads "*" to the right of the current pattern to the size determined by the iteration number plus oneStarts the recursive loopEnds the recursive loop, limited by the iteration number (6)Starts loop, one row at a timePads "*" to the right of the current pattern to the size determined by the iteration number plus oneEnds loopCreates an empty table with predetermined number of rows (6)Pads "*" to the right of the current pattern to the size determined by the row index plus oneCreates an empty table with predetermined number of rows (6) Table Creator String Manipulation RecursiveLoop Start Recursive Loop End Chunk Loop Start String Manipulation Loop End Empty Table Creator String Manipulation Empty Table Creator Challenge 28: Left Triangle Star PatternLevel: EasyDescription: In this challenge, you will do a little bit of logic building and produce the star triangle below. Theoutput will be such that each row in the pattern will be in the corresponding row of the table.P.S. do not hardcode the pattern.*********************Bonus Challenge: Do not use scripting nodes or components. Solution 1: Using recursive loop Solution 2: Using chunk loop (1 row at a time) Solution 3: Loop-free method Creates the seed pattern "*"Pads "*" to the right of the current pattern to the size determined by the iteration number plus oneStarts the recursive loopEnds the recursive loop, limited by the iteration number (6)Starts loop, one row at a timePads "*" to the right of the current pattern to the size determined by the iteration number plus oneEnds loopCreates an empty table with predetermined number of rows (6)Pads "*" to the right of the current pattern to the size determined by the row index plus oneCreates an empty table with predetermined number of rows (6) Table Creator String Manipulation RecursiveLoop Start Recursive Loop End Chunk Loop Start String Manipulation Loop End Empty Table Creator String Manipulation Empty Table Creator

Nodes

Extensions

Links