--- id: 587d8256367417b2b2512c77 title: Adjacency List challengeType: 1 videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert(Object.keys(undirectedAdjList).length === 4, "undirectedAdjList should only contain four nodes.");' - text: '' testString: 'assert(undirectedAdjList.James.indexOf("Jeff") !== -1 && undirectedAdjList.Jeff.indexOf("James") !== -1, "There should be an edge between Jeff and James.");' - text: '' testString: 'assert(undirectedAdjList.Jill.indexOf("Jenny") !== -1 && undirectedAdjList.Jill.indexOf("Jenny") !== -1, "There should be an edge between Jill and Jenny.");' - text: '' testString: 'assert(undirectedAdjList.Jeff.indexOf("Jenny") !== -1 && undirectedAdjList.Jenny.indexOf("Jeff") !== -1, "There should be an edge between Jeff and Jenny.");' ```
## Challenge Seed
```js var undirectedAdjList = { }; ```
## Solution
```js // solution required ```