Is there a way to learn pattern figures of stars and numbers? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is there a way to learn pattern figures of stars and numbers?

I was wondering if is there a kind of generic learning method, or maybe an algorithm, like the bubble-sort algorithm, to understand every type of '*' and/or numbers typical pattern figures. Like triangular shaped, pyramid shaped, mixed shaped numbers and '*' , etc... always having in mind a kind of two dimensional matrix of "i rows and j columns", that is applicable to all programming language. I am not referring to the syntax here, just the thinking method if there's any... or each pattern is a case study of its own?

7th Nov 2018, 11:35 AM
Roberto
2 Answers
+ 6
I'm afraid there are none to my knowledge but basically it's similar to guessing the missing number of a sequence. The more problem you solve, the better you're able to find the underlying pattern. Therefore start with a simple problem and progress slowly definitely helps! 😄
7th Nov 2018, 11:44 AM
Zephyr Koo
Zephyr Koo - avatar
0
I will try...it's the hardest subject I faced with, up to now, and the one which require the longest time to study for me. When it comes to learn the flow control, and in particular the nested for-loops, sooner or later, everyone will have to fight in understanding these symbols-and-numbers patterns :((...aaarrghh...!!! ;-((
7th Nov 2018, 11:50 AM
Roberto