Skip to content

Changed Entry condition of spiral_print_matrix()#201

Open
HarshPanchal18 wants to merge 1 commit intomandliya:masterfrom
HarshPanchal18:patch-1
Open

Changed Entry condition of spiral_print_matrix()#201
HarshPanchal18 wants to merge 1 commit intomandliya:masterfrom
HarshPanchal18:patch-1

Conversation

@HarshPanchal18
Copy link

@HarshPanchal18 HarshPanchal18 commented Feb 6, 2022

It is not printing the middle element in case of 3 X 3 matrix
e.x.
1 2 3
8 9 4
7 6 5

Gives =>
1 2 3 4 5 6 7 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant