Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 35 additions & 0 deletions
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

Lines changed: 28 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /