---
title: "Discussion on \"Diagonal Difference\" | Hashnode"
description: "Discussion on \"Diagonal Difference\". Given a square matrix, calculate the absolute difference between the sums of its diagonals.\nIt is the most easiest problem from 1 month Interview Prep kit on HackerRank.\nYou would be provided a 2 dimensional array of equal rows and columns or a squar..."
url: "https://hashnode.com/posts/diagonal-difference/63178a18961d2507e75fc187"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Diagonal Difference](https://hackerrank-1-month-interview-prep-kit.hashnode.dev/diagonal-difference?utm_source=hashnode&utm_medium=feed)

Given a square matrix, calculate the absolute difference between the sums of its diagonals. It is the most easiest problem from 1 month Interview Prep kit on HackerRank. You would be provided a 2 dimensional array of equal rows and columns or a squar...

Sep 6, 2022 · 2 min read · hackerrank-1-month-interview-prep-kit.hashnode.dev  
Read the article

-   [#hackerrank](https://hashnode.com/tag/hackerrank)
-   [#dsa](https://hashnode.com/tag/dsa)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Vibhor Singh](https://hashnode.com/@s-vibhor)

@s-vibhor · India

  
[View profile](https://hashnode.com/@s-vibhor)

Frontend web dev

Prefers Frontend over Backend because haven't explored the Backend dev yet | learning JS

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
