Skip to content

Commit d8ff5d0

Browse files
committed
Added question description
1 parent ed1af00 commit d8ff5d0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Display_Sirectory.py renamed to Display_Directory.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
# -home
2+
# -src
3+
# -A.JS (lines:4)
4+
# -B.JS(lines:3)
5+
# -test
6+
# -C.js (lines:2)
7+
# -temp
8+
# -test.html(lines:10)
9+
# -images
10+
#
11+
# create a func displayDirectory("home")
12+
# // Name of file/directory | File or Dir | Total # of lines inside the node
13+
#
14+
# src | dir | 4
15+
# temp | dir | 0
16+
# test.html | file | 10
17+
#
18+
# you will be given an API getNodes("home") which will give you return you an array of dict
19+
#
20+
# [{name: "src"}, {name: "temp"}, {name:"test.html", lines: 10}]
21+
# [{name: "A.JS", lines:4}]
22+
23+
124
class Solution:
225
def displayDir(self, dirName):
326
res = []

0 commit comments

Comments
 (0)