how can i solve this pattern

1 1
2 1
1 2 1 1
1 1 1 2 2 1

312211

just imagine it as you describin the nos in the previous line....
it means
der is three 1,two 2,and one 1

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.