Daily-Coding-DS-ALGO-Practice icon indicating copy to clipboard operation
Daily-Coding-DS-ALGO-Practice copied to clipboard

Fenced Matrix (Python)

Open singhmansi25 opened this issue 3 years ago • 6 comments

Description :

You will be given two positive integers m and n. You have to make a list of lists (which can be visualised as a matrix) of size m*n, that is m sublists (rows), with each sublists having n integers (columns). The matrix should be such that it should have 1 on the border and 0 everywhere else.

Solution : Using Concept of List Comprehension and Shallow copying in Python

l1 l2

Programming language

  • C
  • C++
  • Java
  • ✔ Python

singhmansi25 avatar Jun 11 '21 18:06 singhmansi25

I can solve this question in c++.please assign me this issue.

nidhi3108 avatar Jun 12 '21 08:06 nidhi3108

@nidhi3108 whom are you asking?

singhmansi25 avatar Jun 13 '21 12:06 singhmansi25

@Ayush7614

nidhi3108 avatar Jun 14 '21 08:06 nidhi3108

Hey, is it closed or reopened ??

singhmansi25 avatar Jul 01 '21 12:07 singhmansi25

Reopened since @nidhi3108 is working

Amit366 avatar Jul 01 '21 12:07 Amit366

@nidhi3108 Have u completed working on this issue #597

singhmansi25 avatar Jul 31 '21 05:07 singhmansi25