Daily-Coding-DS-ALGO-Practice
Daily-Coding-DS-ALGO-Practice copied to clipboard
Fenced Matrix (Python)
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](https://user-images.githubusercontent.com/76874762/121734098-ef9f2900-cb11-11eb-97dc-004fccd72bb0.png)
![l2](https://user-images.githubusercontent.com/76874762/121734120-f7f76400-cb11-11eb-8ca6-d137eecc97e5.png)
Programming language
- C
- C++
- Java
- ✔ Python
I can solve this question in c++.please assign me this issue.
@nidhi3108 whom are you asking?
@Ayush7614
Hey, is it closed or reopened ??
Reopened since @nidhi3108 is working
@nidhi3108 Have u completed working on this issue #597