Skip to content

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

+1-2
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

+1-1
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)