---
title: "Discussion on \"Leetcode  566. Reshape the Matrix\" | Hashnode"
description: "Discussion on \"Leetcode  566. Reshape the Matrix\". Approach\nFirst check to make sure there's enough elements in the original matrix to meet the new row and column requirements. I did this by creating a new list to store all of the original values (which we will then use later to fill the new matrix) ..."
url: "https://hashnode.com/posts/leetcode-566-reshape-the-matrix/65dbc16d4d537f0f0d6782e3"
---

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

Discussion

# [Leetcode 566. Reshape the Matrix](https://blog.kennycarneal.com/leetcode-566-reshape-the-matrix?utm_source=hashnode&utm_medium=feed)

Approach First check to make sure there's enough elements in the original matrix to meet the new row and column requirements. I did this by creating a new list to store all of the original values (which we will then use later to fill the new matrix) ...

Feb 25, 2024 · 2 min read · blog.kennycarneal.com  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[Kenny Carneal](https://hashnode.com/@Frawsty)

@Frawsty · Nashville, Tennessee

  
[View profile](https://hashnode.com/@Frawsty)

Christ follower, rollerblader, gamer, developer

I am a developer from Nashville, TN. I specialize in the .NET tech stack. I have created many projects in Blazor WASM, Xamarin, MAUI, etc.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
