-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path11-organization-chart.js
More file actions
40 lines (39 loc) · 956 Bytes
/
11-organization-chart.js
File metadata and controls
40 lines (39 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Write a recursive function that prints the following organization chart.
// Your output should be as shown below with proper indentation to show the hierarchy.
// You may store the org chart in an object and send that as an input to your program.
// Zuckerberg
// Schroepfer
// Bosworth
// Steve
// Kyle
// Andra
// Zhao
// Richie
// Sofia
// Jen
// Schrage
// VanDyck
// Sabrina
// Michelle
// Josh
// Swain
// Blanch
// Tom
// Joe
// Sandberg
// Goler
// Eddie
// Julie
// Annie
// Hernandez
// Rowi
// Inga
// Morgan
// Moissinac
// Amy
// Chuck
// Vinni
// Kelley
// Eric
// Ana
// Wes