Skip to content

This repo contains all the important pattern problems that you must solve before starting DSA.

Notifications You must be signed in to change notification settings

0amritsingh/Pattern_Problems

Repository files navigation

Top 22 Pattern Problems

NOTE: Python is used

All the important pattern problems that you must solve before doing something else. This will impove your understanding of loops/nested loops which is importent for logic building. I'll suggest you to try the following patterns youself first and if you got any problem than this repo is right here. Even during the making of this repo I'm learing it too. If these problems are hard to solve then check this video.

How to solve any pattern problem in just 4 simple steps:

  • Make nested loops, the outer loop is concidered as Rows or Y-axis and the inner loop is concidered as column or X-axis.
  • For the inner loop focus on the columns and connect then somehow to the rows.
  • Whatever you are printing(let say *), print it/them inside the inner loop.
  • Observe symmetry (optional)

1.

ERROR 101

2.

ERROR 101

3.

ERROR 101

4.

ERROR 101

5.

ERROR 101

6.

ERROR 101

7.

ERROR 101

8.

ERROR 101

9.

ERROR 101

10.

ERROR 101

11.

ERROR 101

12.

ERROR 101

13.

ERROR 101

14.

ERROR 101

15.

ERROR 101

16.

ERROR 101

17.

ERROR 101

18.

ERROR 101

19.

ERROR 101

20.

ERROR 101

21.

ERROR 101

22.

ERROR 101

About

This repo contains all the important pattern problems that you must solve before starting DSA.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages