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 5c42a96

Browse files
Minor fixes
- Removed unnecessary dependencies in `packages.json` - Changed returned value to array
1 parent 1478201 commit 5c42a96

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

‎package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@
2020
"eslint-config-airbnb-base": "^13.1.0",
2121
"eslint-plugin-import": "^2.14.0",
2222
"jest": "^25.0.0"
23-
},
24-
"dependencies": {}
23+
}
2524
}

‎src/_DataStructures_/Trees/BinaryTree/bottom-view-binary-tree/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ module.exports = function bottomView(binaryTree) {
3535
}
3636
}
3737

38-
return hdToNodeValue.values();
38+
return Array.from(hdToNodeValue.values());
3939
};

0 commit comments

Comments
(0)

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