Find the sum of Z shape in the given matrix

class SumZshape:
def solve(self, matrix):
n = len(matrix)
if n <= 2…

--

--

--

Lead, Product Development, Embedded System Specialist/Mad scientist

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Junior software engineer, these skills are required from you

Generative NFT Art - The Lizard Lab Assembly Line

Dual Boot vs Virtualization

Move Fast, Reliably

KDG x Remnant AMA Recap

A complete guide to Accessibility Service Part 1

Using the command pattern to undo our mistakes

How Microsoft Disrupted Microsoft: Don’t Go Chasing Waterfalls (Part 2 of 3)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Iqram Ali

Iqram Ali

Lead, Product Development, Embedded System Specialist/Mad scientist

More from Medium

Which is Better Java or Python| WsCube Tech

Tech-Travel Time

clock

What I Expect a Senior Engineer to Know About Working With Text

Minimum Deletions to Make String Balanced