Princekumaraj / Hactoberfest2022

1 stars 20 forks source link

Create diogonalsum.java #29

Closed ghost closed 1 year ago

ghost commented 1 year ago

I have added this code of 2Darray by making new folder of 2Darray which calculate the sum of both diagonal of the the matrix n*n .This code has the linear time complexity which make the code efficient.