Fix the PrintUtil.js showTrunks

This commit is contained in:
justin 2022-12-13 21:38:18 +08:00
parent a171414c7b
commit 2a375ebcbb
1 changed files with 2 additions and 2 deletions

View File

@ -79,10 +79,10 @@ function showTrunks(p) {
}
showTrunks(p.prev);
console.log(p.str);
process.stdout.write(p.str);
}
module.exports = {
module.exports = {
printTree,
printLinkedList,
}