Leetcode 2326. Spiral Matrix IV

Posted on Thu 07 July 2022 in Leetcode • Tagged with spiral-matrix

Question Link : https://leetcode.com/problems/spiral-matrix-iv/

Difficulty: Medium

Question

You are given two integers m and n, which represent the dimensions of a matrix. You are also given the head of a linked list of integers. Generate an m x n matrix that contains the integers in the linked …


Continue reading