Skip to content

Commit 45adf71

Browse files
problem 57 initialization completed
1 parent 3eb35ad commit 45adf71

File tree

2 files changed

+63
-0
lines changed

2 files changed

+63
-0
lines changed

problem57/problem.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
## Problem 57:
3+
4+
```
5+
let activities = {
6+
activity1: [
7+
{
8+
name: "listen on spotify",
9+
song_list: {
10+
song_1: "abc",
11+
song_2: "bcd",
12+
},
13+
id: 1,
14+
},
15+
{
16+
name: "listen music through bot",
17+
18+
song_list: {
19+
song_1: "wxy",
20+
song_2: "xyz",
21+
},
22+
id: 2,
23+
},
24+
],
25+
};
26+
```
27+
28+
### How will you get the output
29+
30+
1. `abc`
31+
2. `xyz`
32+
33+
34+
35+
problem provider : https://drive.google.com/file/d/1oRju8zbVD3O3oyntU0gPfW9-bp8R11lk/view

problem57/problem57.js

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
let activities = {
2+
activity1: [
3+
{
4+
name: "listen on spotify",
5+
song_list: {
6+
song_1: "abc",
7+
song_2: "bcd",
8+
},
9+
id: 1,
10+
},
11+
{
12+
name: "listen music through bot",
13+
14+
song_list: {
15+
song_1: "wxy",
16+
song_2: "xyz",
17+
},
18+
id: 2,
19+
},
20+
],
21+
};
22+
23+
24+
/*
25+
How will you get the output
26+
abc
27+
xyz
28+
*/

0 commit comments

Comments
 (0)